-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
109 additions
and
106 deletions.
There are no files selected for viewing
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
[tool.ruff] | ||
# Enable pycodestyle (E), pyflakes (F), and bugbear (B) rules | ||
select = ["E", "F", "B"] | ||
|
||
# Ignore line length violations--Black handles those | ||
line-length = 88 | ||
ignore = ["E501"] | ||
|
||
target-version = "py37" | ||
|
||
src = ["src"] | ||
|
||
[tool.ruff.flake8-quotes] | ||
docstring-quotes = "double" | ||
|
||
|
||
[tool.black] | ||
line-length = 88 | ||
target-version = ["py37"] | ||
|
||
[tool.mypy] | ||
python_version = "3.8" | ||
disallow_untyped_defs = true | ||
|
||
[[tool.mypy.overrides]] | ||
module = "configobj.*" | ||
ignore_missing_imports = true | ||
|
||
[[tool.mypy.overrides]] | ||
module = "docutils.*" | ||
ignore_missing_imports = true | ||
|
||
|
||
[tool.pytest.ini_options] | ||
filterwarnings = [ | ||
"error", | ||
"ignore:::babel[.*]", | ||
"ignore:::jinja2[.*]", | ||
"ignore:::yaml[.*]", | ||
# Sphinx 4.2.0 uses distutils and it's deprecated in 3.10 | ||
"ignore::DeprecationWarning:sphinx", | ||
] | ||
|
||
|
||
[tool.tox] | ||
legacy_tox_ini = """ | ||
[tox] | ||
envlist = py37,py38,py39,py310,py311,py37-doctest,py37-lint,py38-typecheck | ||
[gh-actions] | ||
python = | ||
3.7: py37 | ||
3.8: py38 | ||
3.9: py39 | ||
3.10: py310 | ||
3.11: py311 | ||
[testenv] | ||
deps = -rrequirements-dev.txt | ||
commands = pytest {posargs} tests/ | ||
[testenv:py37-doctest] | ||
deps = -rrequirements-dev.txt | ||
commands = pytest --doctest-modules src/ | ||
[testenv:py37-lint] | ||
basepython = python3.7 | ||
changedir = {toxinidir} | ||
commands = | ||
black --check src setup.py tests docs examples | ||
ruff src setup.py tests docs examples | ||
[testenv:py38-typecheck] | ||
basepython = python3.8 | ||
changedir = {toxinidir} | ||
commands = | ||
mypy src/everett/ | ||
""" |
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
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