Skip to content

Commit

Permalink
Move setup.cfg contents to other files
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Nov 3, 2023
1 parent 581d26c commit 7467520
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 34 deletions.
17 changes: 16 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,24 @@ include = [
"/test",
"CHANGELOG.*",
"CONTRIBUTORS.*",
"setup.cfg",
"tox.ini",
]

[tool.hatch.envs.default]
python = "3"

[mypy]
allow_incomplete_defs = false
allow_untyped_defs = false
ignore_missing_imports = false
# <https://github.com/python/mypy/issues/7773>:
no_implicit_optional = true
implicit_reexport = false
local_partial_types = true
pretty = true
show_error_codes = true
show_traceback = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
33 changes: 0 additions & 33 deletions setup.cfg

This file was deleted.

18 changes: 18 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,21 @@ deps =
types-requests
commands =
mypy src

[flake8]
doctests = True
extend-exclude = build/,dist/,test/data,venv/
max-doc-length = 100
max-line-length = 80
unused-arguments-ignore-stub-functions = True
extend-select = B901,B902,B950
ignore = A003,B005,E203,E262,E266,E501,U101,W503

[isort]
atomic = True
force_sort_within_sections = True
honor_noqa = True
lines_between_sections = 0
profile = black
reverse_relative = True
sort_relative_in_force_sorted_sections = True

0 comments on commit 7467520

Please sign in to comment.