-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added references to missing pieces for danish NLP and using DFM
- Loading branch information
1 parent
27c0937
commit 80b8978
Showing
2 changed files
with
26 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,33 @@ | ||
install: | ||
@echo "Installing package and required dependencies" | ||
pip install -e .[dev,test,docs] | ||
|
||
test: ## Run tests | ||
test: | ||
@echo "Running tests" | ||
pytest src | ||
|
||
lint: ## Format code | ||
lint: | ||
@echo "Linting code" | ||
ruff check src --fix | ||
black . | ||
|
||
type-check: ## Type-check code | ||
type-check: | ||
@echo "Type-checking code-base" | ||
pyright src | ||
|
||
validate: ## Run all checks | ||
validate: | ||
@echo "Running all checks" | ||
make lint | ||
make type-check | ||
make test | ||
|
||
pr: ## Run relevant tests before PR | ||
pr: | ||
@echo "Running relevant checks before PR" | ||
make validate | ||
gh pr create -w | ||
|
||
docs-serve: ## build and serve documentation | ||
# make sure you have installed docs: | ||
# pip install -e .[docs] | ||
docs-serve: | ||
@echo "Serving documentation" | ||
@echo "Make sure you have installed docs:" | ||
@echo "pip install -e .[docs]" | ||
mkdocs serve |