-
Notifications
You must be signed in to change notification settings - Fork 19
/
pyproject.toml
89 lines (78 loc) · 2.23 KB
/
pyproject.toml
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
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=61.2",
]
[project]
name = "flake8_simplify"
version = "0.21.0"
description = "flake8 plugin which checks for code that can be simplified"
keywords = [
"flake8",
]
license = {text = "MIT"}
maintainers = [{name = "Martin Thoma", email = "[email protected]"}]
authors = [{name = "Martin Thoma", email = "[email protected]"}]
requires-python = ">=3.6.1"
dependencies = [
"astor>=0.1",
"flake8>=3.7",
'importlib-metadata>=0.9; python_version < "3.8"',
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development",
"Framework :: Flake8",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.entry-points]
"flake8.extension" = {SIM = "flake8_simplify:Plugin"}
[project.urls]
Homepage = "https://github.com/MartinThoma/flake8-simplify"
[tool.setuptools]
license-files = ["LICENSE"]
include-package-data = false
[tool.setuptools.packages.find]
exclude = ["tests"]
namespaces = false
[tool.black]
line-length = 79
target-version = ['py38']
[tool.mutmut]
backup = "False"
runner = "./mutmut-test.sh"
tests_dir = "tests/"
paths_to_mutate = "flake8_simplify.py"
[tool.mypy]
exclude = "build/lib/flake8_simplify.py"
ignore_missing_imports = true
strict = true
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_unused_ignores = false
show_error_codes = true
[[tool.mypy.overrides]]
disallow_untyped_defs = false
module = [
"testing.*",
"tests.*",
]
[tool.pytest.ini_options]
addopts = "--doctest-modules --cov=. --cov-report html:tests/reports/coverage-html --cov-report term-missing --ignore=docs/ --durations=3 --timeout=30"
doctest_encoding = "utf-8"