-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
85 lines (74 loc) · 1.92 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
[tool.poetry]
name = "flipr-api"
version = "1.6.1"
description = "Python client for flipr API."
authors = ["cnico"]
license = "GPL-3.0-or-later"
readme = "README.md"
homepage = "https://github.com/cnico/flipr-api"
repository = "https://github.com/cnico/flipr-api"
documentation = "https://flipr-api.readthedocs.io"
keywords = ["flipr", "flipr-api", "pool", "piscine"]
classifiers = [
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
]
[tool.poetry.urls]
Changelog = "https://github.com/cnico/flipr-api/releases"
[tool.poetry.dependencies]
python = "^3.10.0"
requests = "^2.25.0"
python-dateutil = "^2.7.0"
[tool.poetry.dev-dependencies]
pytest = "^8.0.0"
requests_mock = "^1.8.0"
coverage = {extras = ["toml"], version = "^5.3"}
safety = "^1.9.0"
mypy = "^0.790"
typeguard = "^2.10.0"
xdoctest = {extras = ["colors"], version = "^0.15.0"}
sphinx = "^7.2.6"
sphinx-rtd-theme = "^2.0.0"
sphinx-click = "^5.1.0"
flake8 = "^3.8.4"
flake8-bandit = "^2.1.2"
flake8-bugbear = "^20.11.1"
flake8-docstrings = "^1.5.0"
flake8-rst-docstrings = "^0.0.14"
pep8-naming = "^0.11.1"
darglint = "^1.5.8"
reorder-python-imports = "^2.3.6"
Pygments = "^2.7.3"
codecov = "^2.1.13"
pytest-cov = "^5.0.0"
black = "^24.8.0"
ruff = "^0.6.1"
pre-commit = "^3.8.0"
mkdocs = "^1.6.0"
mkdocstrings = "^0.25.2"
mkdocstrings-python = "^1.10.8"
markdown-include = "^0.8.1"
[tool.coverage.paths]
source = ["src"]
[tool.coverage.run]
branch = true
source = ["flipr_api"]
[tool.coverage.report]
show_missing = true
fail_under = 98
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "DEBUG"
# Cf : https://laszlo.substack.com/p/cq4ds-python-project-from-scratch
[tool.black]
skip-string-normalization = true
line-length = 120
[tool.ruff]
# Same as Black.
line-length = 120
[tool.flake8]
max-line-length = 120