-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (95 loc) · 2.37 KB
/
pyproject.toml
File metadata and controls
107 lines (95 loc) · 2.37 KB
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
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[project]
name = "otpgui"
version = "0.3.3"
description = "Otp Generator GUI with python"
readme = "README.md"
requires-python = ">=3.12"
license = "GPL-3.0-or-later"
authors = [
{name = "Gianluca Mascolo", email = "gianluca@gurutech.it"}
]
maintainers = [
{name = "Gianluca Mascolo", email = "gianluca@gurutech.it"}
]
keywords = ["otp"]
dependencies = [
"PyYAML>=6.0",
"pyotp>=2.6",
"PyGObject>=3.42",
"pycairo>=1.25,<2.0"
]
[project.urls]
Homepage = "https://github.com/gianluca-mascolo/otpgui/"
Repository = "https://github.com/gianluca-mascolo/otpgui/"
Documentation = "https://github.com/gianluca-mascolo/otpgui/blob/main/README.md"
"Bug Tracker" = "https://github.com/gianluca-mascolo/otpgui/issues"
[project.scripts]
otpgui = "otpgui:main"
[tool.poetry]
name = "otpgui"
version = "0.3.3"
description = "Otp Generator GUI with python"
readme = "README.md"
license = "GPL-3.0-or-later"
authors = ["Gianluca Mascolo <gianluca@gurutech.it>"]
maintainers = ["Gianluca Mascolo <gianluca@gurutech.it>"]
keywords = ["otp"]
packages = [
{ include = "otpgui.py" },
{ include = "otpversion.py" },
]
[tool.poetry.urls]
Homepage = "https://github.com/gianluca-mascolo/otpgui/"
Repository = "https://github.com/gianluca-mascolo/otpgui/"
Documentation = "https://github.com/gianluca-mascolo/otpgui/blob/main/README.md"
"Bug Tracker" = "https://github.com/gianluca-mascolo/otpgui/issues"
[tool.poetry.scripts]
otpgui = "otpgui:main"
[tool.poetry.dependencies]
python = ">=3.12,<4.0"
PyYAML = ">=6.0"
pyotp = ">=2.6"
PyGObject = ">=3.42"
pycairo = ">=1.25,<2.0"
[tool.poetry.group.dev.dependencies]
black = ">=23.1.0"
isort = ">=5.12.0"
flake8 = ">=6.0.0"
pytest = ">=7.2.2"
pytest-cov = "^7.0.0"
toml-cli = "^0.8.2"
[project.optional-dependencies]
dev = [
"black>=23.1.0",
"isort>=5.12.0",
"flake8>=6.0.0",
"pytest>=7.2.2",
]
# Tool configurations
[tool.black]
line-length = 200
target-version = ['py39', 'py310', 'py311', 'py312']
extend-exclude = '''
/(
old
| \.git
| \.mypy_cache
| \.pytest_cache
| __pycache__
| \.venv
| build
| dist
)/
'''
[tool.isort]
profile = "black"
line_length = 200
multi_line_output = 7
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
skip = [".gitignore", ".venv", "old"]