-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (87 loc) · 2.52 KB
/
pyproject.toml
File metadata and controls
98 lines (87 loc) · 2.52 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
# Copyright 2025 Lincoln Institute of Land Policy
# SPDX-License-Identifier: Apache-2.0
[project]
name = "scheduler"
version = "0.1.0"
description = "The geoconnex scheduler repository"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"beautifulsoup4>=4.12.3",
"dagster-webserver>=1.12.8",
"dagster>=1.12.8",
"dagster-postgres>=0.28.8",
"dagster-slack>=0.28.8",
"jinja2>=3.1.5",
"lakefs>=0.8.0",
"lxml>=5.3.0",
"minio>=7.2.15",
"requests>=2.32.3",
"docker>=7.1.0",
"qlever>=0.5.23",
"geoparquet-io>=0.9.0",
]
[dependency-groups]
dev = [
"pytest-xdist>=3.6.1",
"pyright>=1.1.398",
"pytest-dotenv>=0.5.2",
"pytest-cov>=6.0.0",
"pytest>=8.3.4",
"dagster-dg-cli>=1.11.0",
"ruff>=0.13.1",
"geopandas>=1.1.1",
"fiona>=1.10.1",
"rdflib>=7.5.0",
]
[tool.dg]
directory_type = "project"
[tool.dg.project]
root_module = "userCode"
code_location_target_module = "userCode.defs"
[tool.pytest.ini_options]
# we want to be able to override values in the .env file
# in order to test with custom environment variables
# without changing the base config
env_override_existing_values = 0
env_files = [
".env"
]
[tool.coverage.run]
# don't include tests
omit = [
"**/*_test.py",
"test/",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
# ruff will automatically format long lines
# and remove trailing whitespace; these ignores
# are simply to handle cases like large sparql
# query strings or other literals that cannot be
# formatted safely and thus we would end up ignoring anyways
ignore = [
"E501", # line too long
"W291" # trailing whitespace
]
[tool.ruff.lint.isort]
# Sort imports taking into account case sensitivity.
case-sensitive = true
# Don't sort straight-style imports (like import sys) before from-style imports (like from itertools import groupby). Instead, sort the imports by module, independent of import style.
force-sort-within-sections = true
# Order imports by type, which is determined by case, in addition to alphabetically.
# By putting this to false we can force the order to be alphabetical.
order-by-type = false
# in some environments isort doesn't detect
# the docker package as a third party import
# seems like this is since the package uses dynamic
# import functionality; we put this here for the sake of consistency
known-third-party = ["docker"]