-
-
Notifications
You must be signed in to change notification settings - Fork 92
/
Copy pathpyproject.toml
101 lines (86 loc) · 2.73 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
[tool.poetry]
name = "PyQtDarkTheme"
version = "2.1.0"
description = "Flat dark theme for PySide and PyQt."
authors = ["Yunosuke Ohsugi <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/5yutan5/PyQtDarkTheme"
homepage = "https://github.com/5yutan5/PyQtDarkTheme"
documentation = "https://pyqtdarktheme.readthedocs.io"
packages = [{ include = "qdarktheme" }]
keywords = ["qt", "stylesheets", "dark-theme"]
classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Environment :: X11 Applications :: Qt",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[tool.poetry.dependencies]
python = ">=3.7,<3.12"
darkdetect = "^0.7.1"
[tool.poetry.group.dev.dependencies]
black = "^22.10.0"
isort = "^5.10.1"
pre-commit = "^2.20.0"
[tool.poetry.group.flake8.dependencies]
flake8 = "^5.0.4"
flake8-return = "^1.1.3"
flake8-pie = "^0.16.0"
flake8-print = "^5.0.0"
flake8-docstrings = "^1.6.0"
flake8-bugbear = "^22.10.25"
flake8-simplify = "^0.19.3"
flake8-comprehensions = "^3.10.0"
flake8-eradicate = "^1.4.0"
flake8-rst-docstrings = "^0.2.7"
flake8-pyproject = "^1.2.1"
flake8-pytest-style = "^1.6.0"
pep8-naming = "^0.13.2"
[tool.poetry.group.test.dependencies]
pytest = "^7.2.0"
pytest-cov = "^4.0.0"
pytest-randomly = "^3.12.0"
pytest-qt = "^4.2.0"
pytest-xvfb = "^2.0.0"
pytest-mock = "^3.10.0"
[tool.poetry.group.docs.dependencies]
# Latest of Sphinx and flake8 cause dependency comflict.
# Temporarily keep the Sphinx at v4.x.
# Latest Sphinx version is v5.x.
Sphinx = "^4.3.1"
rstcheck = {extras = ["toml"], version = "^6.1.0"}
pydata-sphinx-theme = "^0.11.0"
sphinx-design = "^0.3.0"
sphinx-copybutton = "^0.5.0"
[tool.poetry.group.github-actions]
# only used in github actions
optional = true
[tool.poetry.group.github-actions.dependencies]
pytest-github-actions-annotate-failures = "^0.1.7"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.flake8]
max-line-length = 104
max-complexity = 7
docstring-convention = "google"
per-file-ignores = ["**/__init__.py:F401", "examples/**:D103,D100"]
# See https://github.com/peterjc/flake8-rst-docstrings#configuration
extend-ignore = ["RST201", "RST203", "RST301"]
[tool.black]
line-length = 104
[tool.isort]
profile = "black"
line_length = 104
[tool.pyright]
typeCheckingMode = "basic"
ignore = ["examples"]