-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
106 lines (95 loc) · 2.48 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[build-system]
requires = [
"setuptools>=64.0",
"setuptools_scm[toml]>=8.0"
]
build-backend = "setuptools.build_meta"
[tool.copyright]
copyright = "2014-2024, Pete R. Jemian"
[project]
name = "pyRestTable"
dynamic = ["version"]
description = "Format a nice table in reST (reStructuredText) from Python."
authors = [
{ name="Pete Jemian", email="prjemian+pyRestTable@gmail.com" },
]
maintainers = [
{ name="Pete Jemian", email="prjemian+pyRestTable@gmail.com" },
]
readme = "README.md"
requires-python = ">=3.9"
keywords = ['reST', 'table', 'documentation']
license = {file = "pyRestTable/LICENSE.txt"}
classifiers = [
"Development Status :: 6 - Mature",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication",
"License :: Freely Distributable",
"License :: Public Domain",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Documentation",
"Topic :: Documentation :: Sphinx",
"Topic :: Software Development",
"Topic :: Software Development :: Documentation",
"Topic :: Text Processing :: Markup",
"Topic :: Utilities",
]
dependencies = [
"lxml",
]
[project.urls]
"Homepage" = "https://prjemian.github.io/pyRestTable/"
"Bug Tracker" = "https://github.com/prjemian/pyRestTable/issues"
# [project.scripts]
# gemviz = "gemviz.app:main"
[tool.black]
line-length = 115
target-version = ['py311']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \.pytest_cache
| _build
| build
| dist
| docs
)/
)
'''
[tool.flake8]
max-line-length = 115
extend-ignore = [
"E203", # See https://github.com/PyCQA/pycodestyle/issues/373
"E402", # module level import not at top of file (for cansas.py)
"E501",
"F401", # imported but unused
"F722", # allow Annotated[typ, some_func("some string")]
"F811", # support typing.overload decorator
"W503",
"W504"
]
[tool.isort]
force_single_line = true
# multi_line_output = 1
line_length = 88
include_trailing_comma = true
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
[tool.setuptools_scm]
write_to = "pyRestTable/_version.py"