forked from seddonym/import-linter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
74 lines (64 loc) · 1.82 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
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "import-linter"
version = "2.0"
license = {text = "BSD 2-Clause License"}
description = "Enforces rules for the imports within and between Python packages."
authors = [
{name = "David Seddon", email = "[email protected]"},
]
requires-python = ">=3.8"
dependencies = [
"click>=6",
"grimp>=3.2",
"tomli>=1.2.1; python_version < '3.11'",
"typing-extensions>=3.10.0.0",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: Unix",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Utilities",
]
dynamic = ["readme"]
[project.urls]
Documentation = "https://import-linter.readthedocs.io/"
Source-code = "https://github.com/seddonym/import-linter/"
[project.scripts]
lint-imports = "importlinter.cli:lint_imports_command"
[tool.setuptools]
include-package-data = true
zip-safe = false
[tool.setuptools.dynamic]
readme = {file = "README.rst"}
[tool.setuptools.package-data]
importlinter = ["py.typed"]
[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
[tool.black]
line-length = 99
[tool.isort]
multi_line_output = 3
include_trailing_comma = "True"
force_grid_wrap = 0
use_parentheses = "True"
line_length = 99
[tool.mypy]
exclude = [
'^tests/assets/',
]
warn_unused_ignores = true
warn_redundant_casts = true