File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ repos:
1313 - id : check-toml
1414 - id : end-of-file-fixer
1515 - id : trailing-whitespace
16+ - repo : https://github.com/tox-dev/pyproject-fmt
17+ rev : 0.9.1
18+ hooks :
19+ - id : pyproject-fmt
1620- repo : https://github.com/asottile/setup-cfg-fmt
1721 rev : v2.2.0
1822 hooks :
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" setuptools" ]
32build-backend = " setuptools.build_meta"
3+ requires = [
4+ " setuptools" ,
5+ ]
46
57[tool .black ]
68target-version = [' py37' ]
79
10+ [tool .pytest .ini_options ]
11+ addopts = """ \
12+ --strict-config
13+ --strict-markers
14+ """
15+
816[tool .mypy ]
917mypy_path = " src/"
1018namespace_packages = false
@@ -15,9 +23,3 @@ warn_unreachable = true
1523[[tool .mypy .overrides ]]
1624module = " tests.*"
1725allow_untyped_defs = true
18-
19- [tool .pytest .ini_options ]
20- addopts = """ \
21- --strict-config
22- --strict-markers
23- """
You can’t perform that action at this time.
0 commit comments