Skip to content

Commit 044195b

Browse files
authored
Configure linting and test tools in Makefile (#4)
1 parent d7da3c6 commit 044195b

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

.flake8

Lines changed: 0 additions & 4 deletions
This file was deleted.

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ lint: # Run code linters
1414
# TODO: mypy ninja_apikey
1515

1616
test: # Run tests
17-
pytest -v sample_project ninja_apikey
17+
pytest --ds=sample_project.settings -v sample_project ninja_apikey/tests.py
1818

1919
cov test-cov: # Run tests with coverage
20-
pytest --cov=ninja_apikey --cov-report=term-missing --cov-report=xml -v sample_project ninja_apikey
20+
pytest --ds=sample_project.settings --cov=ninja_apikey --cov-report=term-missing --cov-report=xml -v sample_project ninja_apikey/tests.py
2121

2222
build: # Build project
2323
make install

pytest.ini

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)