-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
77 lines (65 loc) · 1.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
[build-system]
requires = ["setuptools>=28", "setuptools_scm>=3.2.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_file = "src/sumo/wrapper/_version.py"
[project]
name = "sumo-wrapper-python"
description = "Python wrapper for the Sumo API"
license = { file = "LICENSE" }
readme = { file = "README.md", content-type = "text/markdown" }
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
]
authors = [{ name = "Equinor" }]
requires-python = ">=3.8"
dynamic = ["version"]
dependencies = [
"msal>=1.20.0",
"msal-extensions>=1.0.0",
"pyjwt>=2.4.0",
"httpx>=0.24.1",
"tenacity>=8.2.2, !=8.4.0",
"azure-identity>=1.13.0",
]
[project.optional-dependencies]
test = ["pytest", "PyYAML"]
docs = [
"sphinx==7.1.2",
"sphinx-rtd-theme",
"autoapi",
"sphinx-autodoc-typehints",
"sphinxcontrib-apidoc",
]
dev = ["ruff", "pre-commit"]
[project.urls]
Repository = "https://github.com/equinor/sumo-wrapper-python"
[project.scripts]
sumo_login = "sumo.wrapper.login:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
exclude = [
".env",
".git",
".github",
".venv",
"venv",
]
line-length = 79
[tool.ruff.lint]
ignore = [
"E501",
"N802",
]
extend-select = [
"C4", # Flake8-comprehensions
"I", # isort
"SIM", # Flake8-simplify
"TC", # Flake8-type-checking
"TID", # Flake8-tidy-imports
"N", # pep8-naming
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]