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
|
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=64",
"setuptools_scm>=8",
]
[tool.setuptools_scm]
version_scheme = "guess-next-dev"
local_scheme = "no-local-version"
[tool.black]
exclude = '''
/(
\.eggs
| \.git
| \.mypy_cache
| \.tox
| \.pytype
| \.venv
| _build
| buck-out
| build
| dist
)/
| docs/conf.py
'''
line-length = 100
target-version = ['py39', 'py310', 'py311', 'py312', 'py313']
[tool.isort]
include_trailing_comma = true
known_third_party = [
'allpairspy',
'path',
'pytest',
'readmemaker',
'sphinx_rtd_theme',
]
line_length = 100
lines_after_imports = 2
multi_line_output = 3
skip_glob = [
'*/.eggs/*',
'*/.pytype/*',
'*/.tox/*',
]
[tool.coverage.run]
branch = true
source = ['pathvalidate']
[tool.coverage.report]
exclude_lines = [
'except ImportError',
'raise NotImplementedError',
'pass',
'ABCmeta',
'abstractmethod',
'warnings.warn',
]
precision = 1
show_missing = true
[tool.pyright]
exclude = [
"**/node_modules",
"**/__pycache__",
".tox",
".venv",
"_build",
"_sandbox",
"build",
"dist"
]
pythonVersion = "3.9"
[tool.pytest.ini_options]
testpaths = [
"test",
]
md_report = true
md_report_color = "auto"
md_report_verbose = 1
md_report_exclude_outcomes = [
"passed",
]
discord_verbose = 1
[tool.ruff]
line-length = 100
target-version = "py39"
exclude = [
".eggs/",
".tox/",
"_sandbox/*",
"build/",
"docs/conf.py",
"examples/pathvalidate_examples.py"
]
|