-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
71 lines (63 loc) · 1.61 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
[metadata]
name = silence_lint_error
version = 1.5.1
description = silence linting errors by adding ignore/fixme comments
long_description = file: README.md
long_description_content_type = text/markdown
author = Samuel Searles-Bryant
author_email = [email protected]
license = MIT
license_files = LICENSE
classifiers =
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
project_urls =
Source = https://github.com/samueljsb/silence-lint-error
Changelog = https://github.com/samueljsb/silence-lint-error/blob/main/CHANGELOG.md
[options]
install_requires =
attrs
tokenize-rt
python_requires = >=3.9
[options.entry_points]
console_scripts =
silence-lint-error = silence_lint_error.cli.silence_lint_error:main
fix-silenced-error = silence_lint_error.cli.fix_silenced_error:main
[options.extras_require]
dev =
covdefaults
coverage
fixit
flake8
mypy
pytest
pytest-subprocess
ruff
semgrep
[bdist_wheel]
universal = True
[coverage:run]
plugins = covdefaults
[flake8]
extend-select = B9
extend-ignore = E501
[mypy]
check_untyped_defs = true
enable_error_code =
truthy-bool
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
ignore_missing_imports = true
no_implicit_optional = true
pretty = true
show_error_codes = true
strict_equality = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_ignores = true
[mypy-tests.*]
disallow_incomplete_defs = false
disallow_untyped_defs = false