-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
57 lines (50 loc) · 1.36 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
[build-system]
requires = ["flit_core >=2,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.metadata]
module = "mypy_test"
dist-name = "mypy-test"
license = "MIT"
author = "Gram"
author-email = "gram@orsinium.dev"
home-page = "https://github.com/orsinium-labs/mypy-test"
description-file = "README.md"
keywords = "mypy,testing,stubs,plugins,typing"
requires-python = ">=3.6"
requires = [
"mypy",
"lxml", # for mypy to be able to produce XML reports
]
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.flit.metadata.requires-extra]
test = ["pytest"]
[tool.flit.scripts]
mypy_test = "mypy_test:entrypoint"
[tool.isort]
profile = "django"
lines_after_imports = 2
skip = ".venvs/"
[tool.ruff]
select = [
"E", "W", "F", "N", "B",
"COM", "ISC", "PIE", "Q",
"SIM", "PTH", "PL", "RUF",
]
ignore = [
"PLR2004", # allow hardcoded constants
"SIM117", # allow nested with
"SIM105", # allow try-except-pass
"PIE790", # allow unnecessary pass statements
"PLW2901", # allow overriding loop variable
]
target-version = "py38"
line-length = 120
[tool.ruff.flake8-quotes]
inline-quotes = "single"