-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
86 lines (77 loc) · 2.18 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "outpostcli"
version = "0.0.63"
description = "CLI for Outpost"
readme = "README.md"
license = { file = "LICENSE" }
authors = [{ name = "Outpost Innovations, Inc." }]
requires-python = ">=3.8"
dependencies = [
"outpostkit>=0.0.69",
"click",
"rich",
"requests",
"tenacity",
"hf-transfer"
]
optional-dependencies = { dev = [
"ruff",
"black"
] }
[project.urls]
homepage = "https://outpost.run"
repository = "https://github.com/outposthq/cli"
[tool.pytest.ini_options]
testpaths = "tests/"
[tool.setuptools]
packages = ["outpostcli", "outpostcli.lfs", "outpostcli.lfs.storage_class"]
[project.scripts]
outpostcli = "outpostcli.cli:outpost"
[tool.setuptools.package-data]
"outpostcli" = ["py.typed"]
[tool.pylint.main]
disable = [
"C0301", # Line too long
"C0413", # Import should be placed at the top of the module
"C0114", # Missing module docstring
"R0801", # Similar lines in N files
"W0212", # Access to a protected member
"W0622", # Redefining built-in
"R0903", # Too few public methods
]
good-names = ["id"]
[tool.ruff]
select = [
"E", # pycodestyle error
"F", # Pyflakes
"I", # isort
"W", # pycodestyle warning
"UP", # pyupgrade
"S", # flake8-bandit
"BLE", # flake8-blind-except
"FBT", # flake8-boolean-trap
"B", # flake8-bugbear
"ANN", # flake8-annotations
]
ignore = [
"E501", # Line too long
"S113", # Probable use of requests call without timeout
"ANN001", # Missing type annotation for function argument
"ANN002", # Missing type annotation for `*args`
"ANN003", # Missing type annotation for `**kwargs`
"ANN101", # Missing type annotation for self in method
"ANN102", # Missing type annotation for cls in classmethod
"W191", # Indentation contains tabs
]
[tool.ruff.per-file-ignores]
"tests/*" = [
"S101", # Use of assert
"S106", # Possible use of hard-coded password function arguments
"ANN201", # Missing return type annotation for public function
]
"outpostcli/**" = [
"ANN201", # Missing return type annotation for public function
]