-
Notifications
You must be signed in to change notification settings - Fork 27
/
pyproject.toml
96 lines (88 loc) · 2.64 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "astrolabe"
dynamic = ["version"]
description = "Command-line utility for testing Drivers against MongoDB Atlas <https://www.mongodb.com/cloud/atlas>"
readme = "README.rst"
license = {file="LICENSE"}
requires-python = ">=3.9"
authors = [
{ name = "Prashant Mital", email = "[email protected]" },
]
keywords = [
"atlas",
"mongo",
"mongodb",
"mongodbatlas",
]
classifiers = [
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Testing",
]
dependencies = [
"click>=7,<8",
"dnspython>=1.16,<2",
"junitparser>=1,<2",
"numpy<2",
"pymongo>=3.10,<4",
"pyyaml>=5,<7",
"requests>=2,<3",
"tabulate>=0.8,<0.9",
]
[project.scripts]
astrolabe = "astrolabe.cli:cli"
[project.urls]
Homepage = "https://github.com/mongodb-labs/drivers-atlas-testing"
[tool.setuptools.dynamic]
version = {attr = "astrolabe.version.__version__"}
[tool.setuptools.packages.find]
include = ["astrolabe","atlasclient"]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
extend-select = [
"B", # flake8-bugbear
"I", # isort
"ARG", # flake8-unused-arguments
"C4", # flake8-comprehensions
"ICN", # flake8-import-conventions
"G", # flake8-logging-format
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"PL", # pylint
"RET", # flake8-return
"RUF", # Ruff-specific
"S", # flake8-bandit
"SIM", # flake8-simplify
"T20", # flake8-print
"UP", # pyupgrade
"YTT", # flake8-2020
"EXE", # flake8-executable
]
ignore = [
"PLR", # Design related pylint codes
"T20", # Use of print statement
"UP031", # Use format specifiers instead of percent format
"E501", # Line too long (111 > 100)
"S101", # Use of `assert` detected"
"SIM105", # Use `contextlib.suppress(FileExistsError)` instead of"
"B904", # Within an `except` clause, raise exceptions with
"ARG001", # Unused function argument
"C408", # Unnecessary `dict` call (rewrite as a literal)"
"B018", # Found useless attribute access
]
unfixable = [
"RUF100", # Unused noqa
"T20", # Removes print statements
"F841", # Removes unused variables
"F401", # Unused import
]
[tool.ruff.lint.per-file-ignores]
"atlasclient/__init__.py" = ["F401"]