-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
96 lines (87 loc) · 2.52 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
[build-system]
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=5"]
build-backend = "setuptools.build_meta"
[project]
name = "ini2toml"
description = "Automatically conversion of .ini/.cfg files to TOML equivalents"
authors = [{name = "Anderson Bravalheri", email = "andersonbravalheri@gmail.com"}]
readme ="README.rst"
license = {text = "MPL-2.0"}
requires-python = ">=3.8"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
]
dependencies = [
"packaging>=20.7",
"setuptools>=60", # local setuptools._distutils is the default
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/abravalheri/ini2toml/"
Documentation = "https://ini2toml.readthedocs.io/"
Source = "https://github.com/abravalheri/ini2toml"
Tracker = "https://github.com/abravalheri/ini2toml/issues"
Changelog = "https://ini2toml.readthedocs.io/en/latest/changelog.html"
Download = "https://pypi.org/project/ini2toml/#files"
[project.optional-dependencies]
full = [
"configupdater>=3.0.1,<4",
"tomlkit>=0.10.0,<2",
]
lite = [
"tomli-w>=0.4.0,<2",
]
all = [
"configupdater>=3.0.1,<4",
"tomlkit>=0.10.0,<2",
"tomli-w>=0.4.0,<2",
]
testing = [
"isort",
"setuptools",
"tomli",
"pytest",
"pytest-cov",
"pytest-xdist",
"pytest-randomly",
"validate-pyproject>=0.6,<2",
]
[project.scripts]
ini2toml = "ini2toml.cli:run"
[project.entry-points."ini2toml.processing"]
setuptools_pep621 = "ini2toml.plugins.setuptools_pep621:activate"
best_effort = "ini2toml.plugins.best_effort:activate"
isort = "ini2toml.plugins.isort:activate"
coverage = "ini2toml.plugins.coverage:activate"
pytest = "ini2toml.plugins.pytest:activate"
mypy = "ini2toml.plugins.mypy:activate"
independent_tasks = "ini2toml.plugins.profile_independent_tasks:activate"
toml_incompatibilities = "ini2toml.plugins.toml_incompatibilities:activate"
[tool.setuptools_scm]
version_scheme = "no-guess-dev"
[tool.pytest.ini_options]
addopts = """
--import-mode importlib
--cov ini2toml
--cov-report term-missing
--doctest-modules
--strict-markers
--verbose
"""
norecursedirs = ["dist", "build", ".*"]
testpaths = ["src", "tests"]
[tool.codespell]
skip = "tests/examples/*"
ignore-words-list = "thirdparty"
[tool.mypy]
pretty = true
show_error_codes = true
show_error_context = true
show_traceback = true
ignore_missing_imports = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_unused_configs = true
# Add here plugins
# plugins = mypy_django_plugin.main, returns.contrib.mypy.returns_plugin