@@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api"
4
4
5
5
[tool .poetry ]
6
6
name = " buzzvil-python-styleguide"
7
- version = " 1.0.2 "
7
+ version = " 1.1.0 "
8
8
description = " Buzzvil's shared style preset"
9
9
authors = [
" Isac Byeonghoon Yoo <[email protected] >" ]
10
10
maintainers = [
" Isac Byeonghoon Yoo <[email protected] >" ]
@@ -17,41 +17,42 @@ classifiers = [
17
17
" Framework :: Flake8" ,
18
18
" Intended Audience :: Developers" ,
19
19
" Natural Language :: English" ,
20
- " Programming Language :: Python :: 2" ,
21
- " Programming Language :: Python :: 2.7" ,
22
20
" Programming Language :: Python :: 3" ,
23
21
" Programming Language :: Python :: 3.6" ,
24
22
" Programming Language :: Python :: 3.7" ,
25
23
" Programming Language :: Python :: 3.8" ,
26
24
" Programming Language :: Python :: 3.9" ,
25
+ " Programming Language :: Python :: 3.10" ,
27
26
" Topic :: Software Development :: Libraries :: Python Modules" ,
28
27
" Topic :: Software Development :: Quality Assurance" ,
29
28
]
30
29
31
30
32
31
[tool .poetry .dependencies ]
33
32
python = " ^3.6.2"
34
- flake8 = " >=3.5"
35
33
black = " ^21.9b0"
36
- flake8-builtins = " ^1.5.3"
37
- mypy = " >=0.910"
34
+ django-stubs = { version = " ^1.9.0" , optional = true }
35
+ flake8 = " >=3.8"
36
+ flake8-annotations-complexity = " ^0.0.6"
37
+ flake8-bandit = " ^2.1.2"
38
+ flake8-black = " ^0.2.3"
39
+ flake8-breakpoint = " ^1.1.0"
38
40
flake8-bugbear = " ^21.9.2"
41
+ flake8-builtins = " ^1.5.3"
39
42
flake8-comprehensions = " ^3.7.0"
40
43
flake8-django = { version = " ^1.1.2" , optional = true }
41
- flake8-eradicate = " ^1.1.0"
42
- flake8-mutable = " ^1.2.0"
43
- flake8-pytest-style = " ^1.5.0"
44
- pep8-naming = " ^0.12.1"
44
+ flake8-eradicate = " ^1.2.0"
45
+ flake8-force-keyword-arguments = " ^1.0.0"
45
46
flake8-functions = " ^0.0.6"
46
- flake8-annotations-complexity = " ^0.0.6"
47
- dlint = " ^0.11.0"
48
- django-stubs = { version = " ^1.9.0" , optional = true }
49
- flake8-black = " ^0.2.3"
50
- flake8-blind-except = " ^0.2.0"
51
47
flake8-future-import = " ^0.4.6"
48
+ flake8-logging-format = " ^0.6.0"
49
+ flake8-print = " ^4.0.0"
50
+ flake8-pytest-style = " ^1.5.0"
51
+ flake8-return = " ^1.1.3"
52
+ importlib-metadata = {version = " *" , python = " <3.8" }
53
+ mypy = " >=0.910"
52
54
nitpick = " ^0.27.0"
53
- flake8-keyword-arguments = " ^0.1.0"
54
- importlib-metadata = {version = " ^4.8.1" , python = " <3.10" }
55
+ pep8-naming = " ^0.12.1"
55
56
typing-extensions = { version = " ^3.7.4.3" , python = " <3.8" }
56
57
57
58
[tool .poetry .dev-dependencies ]
@@ -69,17 +70,17 @@ BZ = "buzzvil_python_styleguide:RequestsTimeoutPlugin"
69
70
force-exclude = " (\n /(\n \\ .eggs\n | \\ .git\n | \\ .hg\n | \\ .mypy_cache\n | \\ .tox\n | \\ .venv\n | _build\n | buck-out\n | build\n | dist\n )/\n | migrations/\n | venv.?\n )\n "
70
71
line-length = 120
71
72
skip-string-normalization = true
72
- target-version = [" py39" ]
73
+ target-version = [" py36 " , " py37 " , " py38 " , " py39" ]
73
74
74
75
75
76
[tool .nitpick ]
76
77
style = " src/buzzvil_python_styleguide/styles/nitpick-style.toml"
78
+ cache = " never"
77
79
78
80
[tool .mypy ]
79
81
allow_redefinition = true
80
82
disallow_any_decorated = true
81
83
disallow_any_explicit = true
82
- disallow_any_expr = true
83
84
disallow_any_generics = true
84
85
disallow_incomplete_defs = true
85
86
disallow_subclassing_any = true
@@ -94,3 +95,9 @@ warn_redundant_casts = true
94
95
warn_return_any = true
95
96
warn_unreachable = true
96
97
warn_unused_ignores = true
98
+
99
+ # Output configuration
100
+ show_error_context = true
101
+ show_column_numbers = true
102
+ show_error_codes = true
103
+ pretty = true
0 commit comments