-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
146 lines (124 loc) · 4.23 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# Copyright (C) 2020-2024 Serghei Iakovlev <[email protected]>
#
# This file is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.
#
# This file is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this file. If not, see <https://www.gnu.org/licenses/>.
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "gstore"
version = "0.8.0"
description = "Synchronize GitHub repositories made easy."
authors = ["Serghei Iakovlev <[email protected]>"]
maintainers = ["Serghei Iakovlev <[email protected]>"]
license = "GPL-3.0-or-later"
readme = "README.rst"
keywords = ["git", "github", "backup", "repo", "sync", "cli"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
"Natural Language :: English",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: System :: Archiving :: Backup",
"Topic :: System :: Software Distribution",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Version Control",
"Topic :: Software Development :: Version Control :: Git",
]
repository = "https://github.com/sergeyklay/gstore"
homepage = "https://gstore.readthedocs.io"
documentation = "https://gstore.readthedocs.io"
packages = [
{ include = "gstore" }
]
include = [
{ path = "tests", format = "sdist" },
"AUTHORS.rst",
"CHANGELOG.rst",
"CONTRIBUTING.rst",
"LICENSE",
"MAINTAINERS.rst",
"README.rst",
"SECURITY.rst"
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/sergeyklay/gstore/issues"
Changelog = "https://gstore.readthedocs.io/en/latest/changelog.html"
[tool.poetry.dependencies]
python = ">=3.9, <4"
pygithub = "^2.5.0"
gitpython = "^3.1.31"
[tool.poetry.scripts]
gstore = "gstore.cli:main"
[tool.poetry.group.testing.dependencies]
coverage = {version = "^7.2.2", extras = ["toml"]}
pytest = "^8.3.3"
pytest-mock = "^3.10.0"
pylint = "^3.3.1"
flake8 = "^7.1.1"
flake8-import-order = "^0.18.2"
flake8-blind-except = "^0.2.1"
[tool.poetry.group.docs.dependencies]
sphinx = ">=6.1.3"
furo = ">=2023.3.27"
[tool.poetry.group.build.dependencies]
twine = "^5.1.1"
[tool.pytest.ini_options]
addopts = "--verbose --doctest-modules --durations=25"
[tool.pylint.MAIN]
# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
# number of processors available to use.
jobs = 0
[tool.pylint.LOGGING]
# The type of string formatting that logging methods do.
# 'old' means using % formatting, 'new' is for '{}' formatting.
logging-format-style = "old"
[tool.pylint."MESSAGES CONTROL"]
# Disable the message, report, category or checker with the given id(s).
disable = ["too-few-public-methods"]
[tool.coverage.report]
# Set the number of decimal places in coverage percentage
precision = 2
# Show lines that were not executed
show_missing = true
[tool.coverage.html]
# Directory for the HTML format report
directory = "htmlcov"
[tool.coverage.xml]
# Filename for the XML format report
output = "coverage.xml"
[tool.coverage.run]
# Enable branch coverage (default: False)
branch = true
# Run tests in parallel (useful when using CI/CD)
parallel = true
# Filename for storing coverage data
data_file = ".coverage"
# Omit specified files or directories from the report
omit = [
"*/.venv/*",
"*/__pycache__/*",
"*/site-packages/*",
"*/tests/*"
]