-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
106 lines (88 loc) · 2.19 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", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pygleif"
description = "Query the GLEIF API using Python"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
authors = [
{name = "ggravlingen", email = "no@email.com"},
]
dynamic = ['version']
dependencies = [
"pydantic>2,<3",
]
keywords = ["lei-code", "lei", "api", "gleif", "leicode"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Intended Audience :: Financial and Insurance Industry",
]
[project.urls]
"Source Code" = "https://github.com/ggravlingen/pygleif"
[project.optional-dependencies]
test = [
"coverage==7.6.8",
"mypy==1.13.0",
"pre-commit==4.0.1",
"ruff==0.8.1",
"pytest==8.3.3",
"pytest-cov==6.0.0",
]
[tool.setuptools]
include-package-data = true
platforms = ["any"]
zip-safe = false
[tool.setuptools.dynamic]
version = {file = "pygleif/VERSION"}
[tool.setuptools.packages.find]
exclude = ["tests", "tests*"]
[tool.setuptools.package-data]
"pygleif" = ["py.typed"]
[tool.pytest.ini_options]
testpaths = [
"tests",
]
norecursedirs = [
".git",
"testing_config",
]
[tool.ruff]
exclude = [
"tests",
]
target-version = "py311"
lint.select = [
"ALL"
]
line-length = 88
lint.ignore = [# One of these is to be disabled..
"D213", # See https://github.com/charliermarsh/ruff/issues/2281
#"D212", # See https://github.com/charliermarsh/ruff/issues/2281
"D203", # See https://github.com/charliermarsh/ruff/issues/2281
#"D211", # See https://github.com/charliermarsh/ruff/issues/2281
]
[tool.ruff.lint.flake8-pytest-style]
fixture-parentheses = false
[tool.ruff.lint.pydocstyle]
convention = 'pep257'
[tool.ruff.lint.isort]
# will group `import x` and `from x import` of the same module.
combine-as-imports = true
force-sort-within-sections = true
forced-separate = [
"tests",
]
known-first-party = [
"pygleif",
"tests",
]
[tool.mypy]
python_version = "3.11"
strict = true
plugins = "pydantic.mypy"