-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (80 loc) · 1.81 KB
/
pyproject.toml
File metadata and controls
91 lines (80 loc) · 1.81 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
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
[project]
name = "S3MP"
version = "0.9.1"
description = ""
authors = [
{name = "Joshua Dean", email = "joshua.dean@sentera.com"},
{name = "Trevor Burgoyne", email = "trevor.burgoyne@sentera.com"},
]
requires-python = ">=3.10"
dependencies = [
"aioboto3",
"boto3",
"boto3-stubs",
"botocore",
"future",
"mypy-boto3-s3",
"psutil",
"pyparsing",
"pyproj",
"tqdm",
]
[project.optional-dependencies]
image = [
"imgparse @ git+ssh://git@github.com/SenteraLLC/py-image-metadata-parser@v2.0.8",
"numpy",
]
[dependency-groups]
dev = [
"pytest",
"pre-commit",
"mypy",
"ruff",
"types-tqdm>=4.67.0.20241221",
"types-psutil>=6.1.0.20241221",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["S3MP"]
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
]
ignore = [
"E501", # line too long (handled by formatter)
"N999", # invalid module name (S3MP is an established package name)
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
strict_equality = true
[[tool.mypy.overrides]]
module = "aioboto3"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["imgparse", "imgparse.types"]
ignore_missing_imports = true