-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (108 loc) · 3.32 KB
/
pyproject.toml
File metadata and controls
121 lines (108 loc) · 3.32 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[project]
name = "flowquery"
version = "1.0.46"
description = "A declarative query language for data processing pipelines"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "FlowQuery Contributors"}
]
keywords = ["query", "data-processing", "pipeline", "declarative"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Database :: Front-Ends",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"aiohttp>=3.8.0",
]
[project.scripts]
flowquery = "flowquery.io.command_line:main"
[project.urls]
Homepage = "https://github.com/microsoft/FlowQuery/flowquery-py"
Repository = "https://github.com/microsoft/FlowQuery/flowquery-py"
Documentation = "https://github.com/microsoft/FlowQuery/flowquery-py#readme"
Issues = "https://github.com/microsoft/FlowQuery/issues"
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"jupyter>=1.0.0",
"ipykernel>=6.0.0",
"nbstripout>=0.6.0",
"mypy>=1.0.0",
"ruff>=0.1.0",
]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.package-dir]
"flowquery" = "src"
"flowquery.compute" = "src/compute"
"flowquery.graph" = "src/graph"
"flowquery.io" = "src/io"
"flowquery.parsing" = "src/parsing"
"flowquery.parsing.components" = "src/parsing/components"
"flowquery.parsing.data_structures" = "src/parsing/data_structures"
"flowquery.parsing.expressions" = "src/parsing/expressions"
"flowquery.parsing.functions" = "src/parsing/functions"
"flowquery.parsing.logic" = "src/parsing/logic"
"flowquery.parsing.operations" = "src/parsing/operations"
"flowquery.tokenization" = "src/tokenization"
"flowquery.utils" = "src/utils"
[tool.setuptools]
packages = ["flowquery", "flowquery.compute", "flowquery.graph", "flowquery.io", "flowquery.parsing", "flowquery.parsing.components", "flowquery.parsing.data_structures", "flowquery.parsing.expressions", "flowquery.parsing.functions", "flowquery.parsing.logic", "flowquery.parsing.operations", "flowquery.tokenization", "flowquery.utils"]
[tool.pytest.ini_options]
minversion = "7.0"
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.pytest-asyncio]
mode = "auto"
[tool.mypy]
python_version = "3.10"
strict = true
ignore_missing_imports = true
exclude = [
"tests/",
"__pycache__",
".git",
"build",
"dist",
]
[[tool.mypy.overrides]]
module = "src.parsing.parser"
warn_return_any = false
disable_error_code = ["union-attr", "arg-type"]
[tool.ruff]
target-version = "py310"
line-length = 120
exclude = [
".git",
"__pycache__",
"build",
"dist",
]
[tool.ruff.lint]
select = [
"F", # Pyflakes (includes F401 unused imports)
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.lint.isort]
known-first-party = ["flowquery", "src"]