-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: reorganize configuration files
- Loading branch information
1 parent
f49e9e8
commit 41042f4
Showing
8 changed files
with
47 additions
and
60 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# --- Individual linter configuration --------------------------------------- | ||
|
||
[flake8] | ||
ignore = E203, E266, E501, W503, F403, F401 | ||
max-line-length = 88 | ||
max-complexity = 18 | ||
select = B,C,E,F,W,T4,B9 | ||
exclude = .git,__pycache__,{{cookiecutter.project_slug}}/,.mypy_cache,.pytest_cache,.tox | ||
|
||
# --- pytest configuration -------------------------------------------------- | ||
|
||
# See warning at https://docs.pytest.org/en/stable/reference/customize.html#setup-cfg | ||
# I put the config here because I somehow couldn't get tox to play nicely with settings in pyproject.toml | ||
|
||
[tool:pytest] | ||
testpaths = tests | ||
addopts = | ||
-v --tb=short --cov=. | ||
python_paths = | ||
. | ||
norecursedirs = | ||
.tox .git */migrations/* */static/* docs venv */{{cookiecutter.project_slug}}/* | ||
|
||
# --- Coverage configuration ------------------------------------------------ | ||
|
||
[coverage:run] | ||
omit = | ||
venv/* | ||
{{cookiecutter.project_slug}}/* | ||
|
||
[coverage:report] | ||
skip_covered = True | ||
show_missing = True |