This repository was archived by the owner on Feb 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +17
-3
lines changed
{{ cookiecutter.project_name }}
{{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }} Expand file tree Collapse file tree 6 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 1818 exclude : ^{{ cookiecutter.project_name }}/
1919
2020 - repo : https://github.com/asottile/pyupgrade
21- rev : v2.4.1
21+ rev : v2.4.4
2222 hooks :
2323 - id : pyupgrade
2424 exclude : ^{{ cookiecutter.project_name }}/
Original file line number Diff line number Diff line change @@ -11,9 +11,11 @@ docstring_style = google
1111[mypy]
1212# mypy configurations: http://bit.ly/2zEl9WI
1313python_version = 3.7
14+ pretty = True
1415allow_redefinition = False
1516check_untyped_defs = True
1617disallow_any_generics = True
18+ disallow_incomplete_defs = True
1719ignore_missing_imports = True
1820implicit_reexport = False
1921strict_optional = True
@@ -26,6 +28,8 @@ warn_unused_configs = True
2628warn_return_any = True
2729warn_unreachable = True
2830show_error_codes = True
31+ show_column_numbers = True
32+ show_error_context = True
2933
3034[tool:pytest]
3135# Directories that are not visited by pytest collector:
Original file line number Diff line number Diff line change 1616 additional_dependencies : [tomlkit, toml]
1717
1818 - repo : https://github.com/asottile/pyupgrade
19- rev : v2.4.1
19+ rev : v2.4.4
2020 hooks :
2121 - id : pyupgrade
2222 args : [--py37-plus]
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ pre-commit = "^2.4.0"
4141[tool .poetry .dev-dependencies ]
4242darglint = " ^1.3.0"
4343isort = " ^4.3.21"
44- pyupgrade = " ^2.4.1 "
44+ pyupgrade = " ^2.4.4 "
4545black = " ^19.10b0"
4646mypy = " ^0.770"
4747bandit = " ^1.6.2"
Original file line number Diff line number Diff line change @@ -11,9 +11,11 @@ docstring_style = google
1111[mypy]
1212# mypy configurations: http://bit.ly/2zEl9WI
1313python_version = 3.7
14+ pretty = True
1415allow_redefinition = False
1516check_untyped_defs = True
1617disallow_any_generics = True
18+ disallow_incomplete_defs = True
1719ignore_missing_imports = True
1820implicit_reexport = False
1921strict_optional = True
@@ -26,6 +28,14 @@ warn_unused_configs = True
2628warn_return_any = True
2729warn_unreachable = True
2830show_error_codes = True
31+ show_column_numbers = True
32+ show_error_context = True
33+
34+ # plugins = pydantic.mypy, sqlmypy
35+
36+ # [pydantic-mypy]
37+ # init_typed = True
38+ # warn_untyped_fields = True
2939
3040[tool:pytest]
3141# Directories that are not visited by pytest collector:
You can’t perform that action at this time.
0 commit comments