-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
130 lines (111 loc) · 2.44 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[build-system]
requires = ["flot"]
build-backend = "flot.buildapi"
[project]
name = "flot"
version = "0.7.3"
description = "Flot is a simple tool to easily build multiple packages (wheel and sdist) from a single repo without having to create a subdir or another repo for each package, and by simply listing which files to include."
authors = [
{name = "Philippe Ombredanne", email = "[email protected]"},
{name = "Thomas Kluyver", email = "[email protected]"},
]
maintainers = [
{name = "Philippe Ombredanne", email = "[email protected]"},
]
dependencies = [
"tomli; python_version < '3.11'",
]
requires-python = ">=3.8"
readme = "README.rst"
license = {text = "BSD-3-Clause AND BSD-2-clause"}
classifiers = ["Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.optional-dependencies]
test = [
"testpath",
"responses",
"pytest>=2.7.3",
"pytest-cov",
"tomli",
# Validation
"flake8",
"doc8",
"black",
"isort",
"bump-my-version",
"tox",
"twine",
]
doc = [
"sphinx",
"sphinxcontrib_github_alt",
"sphinx-rtd-theme"
]
[project.urls]
Source = "https://github.com/nexB/flot"
[project.scripts]
flot = "flot:main"
[tool.flot]
includes = ["flot/**/*"]
metadata_files = ["LICENSE"]
editable_paths = ["."]
sdist_extra_includes = [
"tests/**/*",
"docs/**/*",
"tox.ini",
"README.rst",
".gitignore",
]
sdist_extra_excludes = [
"docs/_build/**/*",
]
[tool.bumpversion]
current_version = "0.7.3"
allow_dirty = true
files = [
{ filename = "flot/__init__.py" },
{ filename = "pyproject.toml" },
{ filename = "docs/conf.py" },
]
[tool.black]
line-length = 100
include = '\.pyi?$'
skip_gitignore = true
# 'extend-exclude' excludes files or directories in addition to the defaults
extend-exclude = '''
(
^/venv/.*
| ^/tests/data/.*
)
'''
[tool.isort]
profile = "black"
force_single_line = "True"
skip_gitignore = true
line_length = 100
sections = "FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
skip = "docs,venv,tmp,build,dist,tests/data"
[tool.pytest.ini_options]
norecursedirs = [
".git",
"dist",
"build",
"docs",
"man",
"share",
".cache",
".settings",
"tmp",
"venv",
"tests/data",
]
python_files = "*.py"
python_classes = "Test"
python_functions = "test"
addopts = [
"-rfExXw",
"--strict-markers",
"--doctest-modules",
]