-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
75 lines (64 loc) · 2.2 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
[build-system]
requires = [
'setuptools',
'setuptools_scm',
'setuptools_scm_git_archive',
'wheel',
]
build-backend = 'setuptools.build_meta'
[project]
name = 'renum'
description = 'Easily build Enum-like regular expression patterns'
readme = 'README.md'
requires-python = '>=3.9.0,<4.0'
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing',
'Topic :: Text Processing :: General',
'Topic :: Utilities',
'Typing :: Typed',
]
dependencies = [
'regex'
]
dynamic = ['version']
[project.license]
file = 'LICENSE'
[[project.authors]]
name = 'Zephyrkul'
[project.urls]
Homepage = 'https://github.com/Zephyrkul/renum'
# Documentation = 'https://renum.readthedocs.io/en/stable/'
Repository = 'https://github.com/Zephyrkul/renum.git'
[project.optional-dependencies]
docs = ['Sphinx ~= 5.3']
[tool.setuptools_scm]
[tool.pyright]
pythonVersion = '3.9'
reportUnnecessaryTypeIgnoreComment = 'warning'
typeCheckingMode = 'strict'
[tool.ruff]
target-version = 'py39'
[tool.ruff.lint]
select = ['E', 'F', 'B', 'Q', 'I', 'W']
ignore = [
# ignore rules incompatible with ruff-format: https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
'E501', 'W191', 'E111', 'E114', 'E117', 'D206', 'D300', 'Q000', 'Q001', 'Q002', 'Q003', 'COM812', 'COM819', 'ISC001', 'ISC002'
]
[tool.ruff.lint.isort]
combine-as-imports = true
extra-standard-library = ['typing_extensions']
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = ['F403']
"**/*.pyi" = ['F403', 'F405']