-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
197 lines (176 loc) · 3.12 KB
/
pyproject.toml
File metadata and controls
197 lines (176 loc) · 3.12 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
[tool.poetry]
name = 'Python Lock Screen'
version = '0.0.1'
description = 'Lightweight and power efficient lock screen / screen saver written in Python.'
readme = 'README.md'
authors = ['VoidTwo']
package-mode = false
[tool.poetry.dependencies]
python = '~= 3.12.9'
pygame = '~= 2.6.1'
[tool.poetry.group.dev.dependencies]
bandit = {version = '*', extras = ['toml']}
flake8 = '*'
mypy = '*'
pip = '*'
setuptools = '*'
[tool.mypy]
mypy_path = '$MYPY_CONFIG_FILE_DIR'
exclude = [
'.git',
'.idea',
'.mypy_cache',
'.venv',
'__pycache__'
]
files = [
'*.py'
]
python_version = '3.12'
follow_imports = 'skip'
follow_imports_for_stubs = false
no_site_packages = true
no_silence_site_packages = false
disable_error_code = ['import']
# Disallow dynamic typing
disallow_any_unimported = false
disallow_any_expr = false
disallow_any_decorated = false
disallow_any_explicit = false
disallow_any_generics = false
disallow_subclassing_any = false
# Untyped definitions and calls
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = false
# None and Optional handling
no_implicit_optional = true
strict_optional = true
# Configuring warnings
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_return_any = true
warn_unreachable = true
# Suppressing errors
ignore_errors = false
# Miscellaneous strictness flags
allow_untyped_globals = false
allow_redefinition = false
local_partial_types = true
implicit_reexport = false
strict_concatenate = false
strict_equality = false
strict = false
# Configuring error messages
show_error_context = true
show_column_numbers = true
show_error_codes = true
pretty = true
color_output = true
error_summary = true
show_absolute_path = false
# Incremental mode
incremental = true
sqlite_cache = false
cache_fine_grained = false
skip_version_check = false
skip_cache_mtime_checks = false
# Advanced options
pdb = false
show_traceback = true
raise_exceptions = true
warn_incomplete_stub = true
# Miscellaneous
scripts_are_modules = false
warn_unused_configs = false
verbosity = 0
[tool.bandit]
exclude_dirs = [
'.git',
'.idea',
'.mypy_cache',
'.venv',
'__pycache__'
]
targets = [
'*.py'
]
tests = [
'B101',
'B102',
'B103',
'B104',
'B105',
'B106',
'B107',
'B108',
'B110',
'B112',
'B113',
'B201',
'B202',
'B301',
'B302',
'B303',
'B304',
'B305',
'B306',
'B307',
'B308',
'B310',
'B311',
'B312',
'B313',
'B314',
'B315',
'B316',
'B317',
'B318',
'B319',
'B321',
'B323',
'B324',
'B401',
'B402',
'B403',
'B404',
'B405',
'B406',
'B407',
'B408',
'B409',
'B411',
'B412',
'B413',
'B415',
'B501',
'B502',
'B503',
'B504',
'B505',
'B506',
'B507',
'B508',
'B509',
'B601',
'B602',
'B603',
'B604',
'B605',
'B606',
'B607',
'B608',
'B609',
'B610',
'B611',
'B612',
'B613',
'B614',
'B701',
'B702',
'B703',
'B704'
]