Skip to content

Commit

Permalink
Introduce Poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
matyaskuti committed Oct 17, 2023
1 parent 589f733 commit 9013a81
Show file tree
Hide file tree
Showing 5 changed files with 900 additions and 43 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
.PHONY: install_lint_requirements
install_lint_requirements:
pip3 install -e .[lint]
poetry install --with lint

.PHONY: lint
lint: install_lint_requirements
flake8 tests
black --line-length=79 --check --diff tests
pylint tests
isort --check-only tests setup.py
isort --check-only tests
mypy tests

.PHONY: install_test_requirements
install_test_requirements:
pip3 install -e .[test]
poetry install --with test

.PHONY: test
test: install_test_requirements
Expand All @@ -31,7 +31,7 @@ clean:
.PHONY: format
format:
black --line-length=79 tests
isort tests setup.py
isort tests

.PHONY: install
install:
Expand Down
Loading

0 comments on commit 9013a81

Please sign in to comment.