/
pyproject.toml
77 lines (68 loc) · 1.46 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "intake-dynamodb"
description = "Intake plugin for reading data from dynamodb"
authors = [{name = "Ray Bell", email = "rayjohnbell0@gmail.com"}]
dependencies = [
"dask[dataframe]",
"intake",
"s3fs",
]
dynamic = ["readme", "version"]
[project.entry-points."intake.drivers"]
dynamodb = "intake_dynamodb.dynamodb:DynamoDBSource"
dynamodbjson = "intake_dynamodb.dynamodb:DynamoDBJSONSource"
[project.optional-dependencies]
dev = [
"black",
"moto[dynamodb,s3]",
"mypy",
"pre-commit",
"pytest",
"ruff",
"yamllint",
]
[project.urls]
repository = "https://github.com/intake-dynamodb/intake-dynamodb"
[tool.setuptools.dynamic]
readme = {file = ["README.md"], content-type = "text/markdown"}
version = {attr = "intake_dynamodb.__version__"}
[tool.black]
exclude = '''
(
/(
\.vscode
| \.git
| \.pytest_cache
| \.mypy_cache
| \.venv
| \.env
| \.direnv
)/
)
'''
include = '\.pyi?$'
line-length = 88
[tool.mypy]
files = [
"intake_dynamodb/*.py",
]
follow_imports = "silent"
ignore_missing_imports = true
scripts_are_modules = true
[tool.pytest.ini_options]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"s3test: marks tests that use s3 (deselect with '-m \"not s3\"')",
]
[tool.ruff]
select = [
# Pyflakes
"E",
# pycodestyle
"F",
# isort
"I001",
]