-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.cfg
83 lines (73 loc) · 2.63 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[metadata]
name = pre_commit_hooks
version = 1.0.11
description = BestDoctor-wide pre-commit hooks.
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/best-doctor/pre-commit-hooks
author = Vladimir Kotikov
author_email = [email protected]
license = MIT
classifiers =
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: Implementation :: CPython
[options]
packages = find:
install_requires =
libcst==0.3.18
mccabe==0.6.1
python_requires = >=3.8
[options.entry_points]
console_scripts =
validate_ajustable_complexity = hooks.validate_ajustable_complexity:main
validate_amount_of_py_file_lines = hooks.validate_amount_of_py_file_lines:main
validate_api_schema_annotations = hooks.validate_api_schema_annotations:main
validate_django_null_true_comments = hooks.validate_django_null_true_comments:main
validate_django_deprecated_model_field_comments = hooks.validate_django_deprecated_model_field_comments:main
validate_django_model_field_names = hooks.validate_django_model_field_names:main
validate_expressions_complexity = hooks.validate_expressions_complexity:main
validate_graphql_model_fields_definition = hooks.validate_graphql_model_fields_definition:main
validate_no_asserts = hooks.validate_no_asserts:main
validate_no_forbidden_imports = hooks.validate_no_forbidden_imports:main
validate_old_style_annotations = hooks.validate_old_style_annotations:main
validate_package_structure = hooks.validate_package_structure:main
validate_settings_variables = hooks.validate_settings_variables:main
validate_test_namings = hooks.validate_test_namings:main
validate_celery_tasks_return_types = hooks.validate_celery_tasks_return_types:main
[options.packages.find]
exclude = tests*
[bdist_wheel]
universal = True
[flake8]
max-line-length = 120
exclude = venv
[mypy]
python_version = 3.8
mypy_path = ./types_stubs/
ignore_missing_imports = True
warn_no_return = False
check_untyped_defs = True
warn_unused_ignores = True
disallow_untyped_defs = True
allow_redefinition = True
follow_imports = skip
exclude = env|venv|venv.*|tests
[mypy-*.tests.*]
ignore_errors = True
[mypy-mccabe.*]
ignore_missing_imports = True
[mypy-setuptools.*]
ignore_missing_imports = True
[isort]
line_length = 120
multi_line_output = 3
use_parentheses = True
include_trailing_comma = True
add_imports =
from __future__ import annotations
skip_gitignore = True
skip = migrations,venv