-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
31 lines (23 loc) · 867 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
generate_config:
poetry run python railrailrail/cli.py generate --coordinates --path config/station_coordinates.csv
poetry run python railrailrail/cli.py generate --network all --path config
generate_config_examples:
poetry run python railrailrail/cli.py generate --coordinates --path config_examples/station_coordinates.csv
poetry run python railrailrail/cli.py generate --network all --path config_examples
markdown_lint:
markdownlint --disable MD013 MD033 MD041 --fix . --ignore CODE_OF_CONDUCT.md
ruff_lint:
poetry run ruff format
poetry run ruff check --fix
ruff_check:
poetry run ruff check
ruff_format_check:
poetry run ruff format --check
install:
poetry lock
poetry install --with dev
update:
poetry lock --regenerate
poetry install --with dev
test: ruff_format_check ruff_check
poetry run pytest -vv --cov=./ --cov-report html -n auto