File tree Expand file tree Collapse file tree 2 files changed +17
-15
lines changed
Expand file tree Collapse file tree 2 files changed +17
-15
lines changed Original file line number Diff line number Diff line change 11default_language_version :
2- python : python3
2+ python : python3
33
44repos :
55 - repo : https://github.com/pre-commit/pre-commit-hooks
66 rev : " v4.6.0"
77 hooks :
8- - id : check-merge-conflict
9- - id : debug-statements
10- - id : trailing-whitespace
11- args : [--markdown-linebreak-ext=md] # Do not process Markdown files.
12- - id : end-of-file-fixer
13- - id : check-ast
14- - id : check-builtin-literals
15- - id : check-docstring-first
16- - id : check-toml
8+ - id : check-merge-conflict
9+ - id : debug-statements
10+ - id : trailing-whitespace
11+ args : [--markdown-linebreak-ext=md] # Do not process Markdown files.
12+ - id : end-of-file-fixer
13+ - id : check-ast
14+ - id : check-builtin-literals
15+ - id : check-docstring-first
16+ - id : check-toml
1717
1818 - repo : https://github.com/PyCQA/flake8
1919 rev : " 7.0.0"
2020 hooks :
2121 - id : flake8
22- additional_dependencies : [
23- " git+https://github.com/RedHatQE/flake8-plugins.git" ,
24- " flake8-mutable" ,
25- ]
22+ additional_dependencies :
23+ [
24+ " git+https://github.com/RedHatQE/flake8-plugins.git" ,
25+ " flake8-mutable" ,
26+ ]
2627
2728 - repo : https://github.com/Yelp/detect-secrets
2829 rev : v1.4.0
4142 - id : mypy
4243 exclude : ^(tests/)
4344 additional_dependencies : [types-all]
44- args : [--ignore-missing-imports, --disallow-untyped-defs]
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ directory = ".tests_coverage"
1010show_contexts = true
1111
1212[tool .mypy ]
13+ show_error_codes = true
14+ warn_unused_ignores = true
1315check_untyped_defs = true
1416disallow_any_generics = true
1517disallow_incomplete_defs = true
You can’t perform that action at this time.
0 commit comments