You need to sign in or sign up before continuing.
Newer
Older
build-backend = "setuptools.build_meta"
[project]
name = "worker_file_import"
version = "0.1.0"
description = "Worker to import files in various formats in Arkindex"
dependencies = [
"ijson==3.1.4",
"python-magic==0.4.27",
]
authors = [
{ name = "Teklia", email = "contact@teklia.com" },
]
maintainers = [
{ name = "Teklia", email = "contact@teklia.com" },
]
requires-python = ">=3.10"
readme = { file = "README.md", content-type = "text/markdown" }
keywords = ["python"]
classifiers = [
# Specify the Python versions you support here.
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[project.scripts]
"worker-file-import" = "worker_file_import.worker:main"
[tool.setuptools.packages]
find = {}
[tool.setuptools.package-data]
worker_file_import = ["assets/*"]
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
[tool.ruff]
exclude = [".git", "__pycache__"]
[tool.ruff.lint]
ignore = ["E501"]
select = [
# pycodestyle
"E",
"W",
# Pyflakes
"F",
# Flake8 Debugger
"T1",
# Isort
"I",
# Implicit Optional
"RUF013",
# Invalid pyproject.toml
"RUF200",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# flake8-pytest-style
"PT",
# flake8-use-pathlib
"PTH",
]
[tool.ruff.lint.per-file-ignores]
# Ignore `pytest-composite-assertion` rules of `flake8-pytest-style` linter for non-test files
"worker_file_import/**/*.py" = ["PT018"]
[tool.ruff.lint.isort]
known-first-party = ["arkindex", "arkindex_worker"]
known-third-party = ["pytest", "setuptools"]