Skip to content

Commit

Permalink
move python tooling configs into setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
Cube707 committed Aug 11, 2022
1 parent 9bdb773 commit b1d31a6
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 20 deletions.
2 changes: 0 additions & 2 deletions .coveragerc

This file was deleted.

11 changes: 0 additions & 11 deletions .flake8

This file was deleted.

4 changes: 0 additions & 4 deletions .isort.cfg

This file was deleted.

3 changes: 0 additions & 3 deletions pytest.ini

This file was deleted.

24 changes: 24 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,27 @@ exclude =
.github/
.venv/
tests/

[tool:pytest]
testpaths = tests
addopts = -r fEsxwX -s --cov=readchar

[flake8]
max-complexity = 12
max-line-length = 88
exclude =
__pycache__/
.git/
.venv/
.pytest_cache/
show-source = true
statistics = true
count = true

[tool.coverage.run]
omit = tests/*

[isort]
profile = black
src_paths = readchar,tests
lines_after_imports = 2

0 comments on commit b1d31a6

Please sign in to comment.