-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
122 lines (109 loc) · 2.61 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "farben"
version = "2.1.0"
description = "PANTONE®, RAL®, Dulux®, Copic®, NCS® and Prismacolor® color palettes for Scribus, GIMP, AutoCAD, Inkscape, Krita & LibreOffice"
license = "MIT"
authors = ["Fundevogel <[email protected]>"]
maintainers = ["Martin Folkers <[email protected]>"]
readme = "README.md"
homepage = "https://fundevogel.de"
repository = "https://codeberg.org/Fundevogel/farben"
keywords = [
"autocad",
"color-palettes",
"colors",
"copic",
"dulux",
"gimp",
"inkscape",
"krita",
"libreoffice",
"ncs",
"palettes",
"pantone",
"prismacolor",
"ral",
"scribus",
"swatches",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: SQL",
"Topic :: Database",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
]
packages = [{include = "farben", from = "src"}]
[tool.poetry.dependencies]
python = "^3.8"
beautifulsoup4 = "^4"
click = "^8"
lxml = "^4"
requests = "^2"
[tool.poetry.group.dev.dependencies]
# Testing
bandit = "^1"
black = "^22"
invoke = "^1"
isort = "^5"
pylint = "^2"
pytest = "^7"
pytest-cov = "^4"
pytest-sugar = "^0.9"
tox = "^3"
tox-pyenv = "^1"
# Packages
beautifulsoup4 = "^4"
click = "^8"
lxml = "^4"
requests = "^2"
[tool.poetry.urls]
"Funding" = "https://donate.rsf.org"
"Issue Tracker" = "https://codeberg.org/Fundevogel/farben/issues"
[tool.poetry.scripts]
farben = "farben:cli"
[tool.bandit]
exclude_dirs = ["tests"]
# Disable rule 'random'
skips = ["B311"]
[tool.black]
line-length = 88
[tool.isort]
profile = "black"
multi_line_output = 3
force_sort_within_sections = true
[tool.pylint.'MESSAGES CONTROL']
# Fix 'source unavailable' warning
extension-pkg-allow-list = ["lxml"]
max-line-length = 88
# Conflicts with 'logging-fstring-interpolation' (rule 'W1201')
disable = ["W1203"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = True
envlist = py{38,39,310,311}
[testenv]
description = Run tests using 'pytest'
deps =
pytest
beautifulsoup4
click
lxml
requests
commands = pytest
"""