File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 8686 language : python
8787 files : ^src/package/|^tests/
8888 types : [text, python]
89- args : [--show-traceback, -- config-file, pyproject.toml]
89+ args : [--config-file, pyproject.toml]
9090
9191# Check for potential security issues.
9292- repo : https://github.com/PyCQA/bandit
Original file line number Diff line number Diff line change @@ -140,23 +140,27 @@ skip_gitignore = true
140140
141141# https://mypy.readthedocs.io/en/stable/config_file.html#using-a-pyproject-toml
142142[tool .mypy ]
143- mypy_path = " src/package/:tests/ "
144- # exclude=
143+ # mypy_path =
144+ # exclude =
145145show_error_codes = true
146146show_column_numbers = true
147+ pretty = true
148+ show_traceback = true
147149check_untyped_defs = true
148150incremental = false
149- strict_equality = true
151+ strict = true
150152warn_return_any = true
151153warn_redundant_casts = true
152154warn_unreachable = true
153155warn_unused_configs = true
154156warn_unused_ignores = true
157+ disallow_any_explicit = true
155158disallow_untyped_calls = true
156159disallow_untyped_defs = true
157160disallow_incomplete_defs = true
158161disallow_untyped_decorators = true
159- disable_error_code = []
162+ # disable_error_code =
163+ # allow_redefinition =
160164
161165[[tool .mypy .overrides ]]
162166module = [
You can’t perform that action at this time.
0 commit comments