-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
150 lines (135 loc) · 3.59 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
147
148
149
150
[build-system]
requires = [
"setuptools>=67.0.0",
]
build-backend = "setuptools.build_meta"
[project]
name = "file-mover-for-google-drive"
description = "Helps move files between Google Drive accounts."
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Environment :: Console",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Office/Business",
"Topic :: Utilities",
]
dynamic = [
"version",
"dependencies",
"optional-dependencies",
]
[project.urls]
"Homepage" = "https://github.com/anotherbyte-net/file-mover-for-google-drive"
"Changelog" = "https://github.com/anotherbyte-net/file-mover-for-google-drive/blob/main/CHANGELOG.md"
"Source" = "https://github.com/anotherbyte-net/file-mover-for-google-drive"
"Tracker" = "https://github.com/anotherbyte-net/file-mover-for-google-drive/issues"
[project.scripts]
file-mover-for-google-drive = 'file_mover_for_google_drive.cli:main'
[tool.setuptools.packages.find]
where = [
"src",
]
# include and exclude accept strings representing glob patterns.
include = [
"file_mover_for_google_drive*",
]
[tool.setuptools.dynamic]
version = { file = [
"VERSION",
] }
dependencies = { file = [
"requirements.txt",
] }
[tool.setuptools.dynamic.optional-dependencies]
dev = { file = [
"requirements-dev.txt",
] }
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra --quiet"
pythonpath = [
"src",
]
testpaths = [
"tests",
]
[tool.coverage.run]
# "Specifying the source option enables coverage.py to report on unexecuted files,
# since it can search the source tree for files that haven’t been measured at all."
source = [
'src',
]
omit = [
'*/site-packages/*',
'tests/*',
]
[tool.coverage.report]
skip_empty = true
[tool.coverage.html]
directory = "coverage-html"
[tool.isort]
profile = "black"
src_paths = [
"src",
]
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = True
envlist = py310,py311
[testenv]
#recreate = true
deps =
-r requirements.txt
-r requirements-dev.txt
allowlist_externals =
echo
commands =
echo "::group::Show app help"
file-mover-for-google-drive --version
file-mover-for-google-drive --help
echo "::endgroup::"
echo "::group::Outdated deps"
-pip list --outdated
echo "::endgroup::"
echo "::group::Test coverage"
-python -X dev -m coverage run -m pytest --doctest-modules
echo "::endgroup::"
echo "::group::Coverage report"
-python -X dev -m coverage report
echo "::endgroup::"
echo "::group::Linter - mypy"
-python -X dev -m mypy src
echo "::endgroup::"
echo "::group::Linter - black"
-python -X dev -m black --check src
echo "::endgroup::"
echo "::group::Linter - pylint"
-python -X dev -m pylint src
echo "::endgroup::"
echo "::group::Linter - pydocstyle"
-python -X dev -m pydocstyle src
echo "::endgroup::"
echo "::group::Linter - flake8"
-python -X dev -m flake8 src --count --show-source --statistics --exit-zero
echo "::endgroup::"
echo "::group::Build"
python -m build --sdist --wheel --outdir dist/ .
echo "::endgroup::"
"""
[tool.pydocstyle]
convention = 'google'
[tool.mypy]
#strict = true
ignore_missing_imports = true
check_untyped_defs = true
no_implicit_optional = true