-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (56 loc) · 1.52 KB
/
pyproject.toml
File metadata and controls
66 lines (56 loc) · 1.52 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
[build-system]
requires = ["setuptools>=77", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "ocopy"
dynamic = ["version"]
description = "Securely copy files to multiple destinations using source and destination verification."
readme = "README.md"
requires-python = ">=3.11"
license = "LGPL-3.0-or-later"
authors = [{ name = "Ben Hagen", email = "ben@ottomatic.io" }]
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Operating System :: OS Independent",
]
dependencies = [
"ascmhl>=1.2",
"click>=8.1.7",
"lxml>=4.4.1",
"xxhash>=1.4.2",
"defusedxml>=0.6.0",
"packaging>=21.0",
"requests>=2.22.0",
"wakepy>=1.0",
]
[project.scripts]
ocopy = "ocopy.cli.ocopy:cli"
[project.urls]
Homepage = "https://github.com/ottomatic-io/ocopy"
[tool.setuptools.packages.find]
include = ["ocopy*"]
[tool.setuptools_scm]
[dependency-groups]
dev = [
"pytest",
"pytest-cov",
"pytest-mock",
"requests-mock",
"atomicwrites",
"ruff",
"ty",
]
[tool.pytest.ini_options]
norecursedirs = ["venv", "dist", "build", ".venv"]
addopts = "--cov-report=xml --cov=ocopy -v"
filterwarnings = [
# ascmhl: pathspec.PathSpec.from_lines("gitwildmatch", ...) (deprecated in pathspec 1.0.4).
"ignore:GitWildMatchPattern \\('gitwildmatch'\\) is deprecated\\..*:DeprecationWarning:pathspec\\..*",
]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF"]
[tool.ty.src]
include = ["ocopy", "tests"]