This repository was archived by the owner on Sep 29, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (52 loc) · 1.78 KB
/
pyproject.toml
File metadata and controls
60 lines (52 loc) · 1.78 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
[project]
# dummy root package for devcontainer
name = "pems"
dynamic = ["version"]
description = "Caltrans Performance Measurement System (PeMS) is an application that enables access to traffic data collected by sensors that span the freeway system across all major metropolitan areas of the State of California."
readme = "README.md"
license-files = ["LICENSE"]
classifiers = ["Programming Language :: Python :: 3 :: Only"]
requires-python = ">=3.12"
maintainers = [{ name = "Compiler LLC", email = "[email protected]" }]
# local packages are installed as part of devcontainer build
# to ensure they are all installed in editable mode
dependencies = []
[project.optional-dependencies]
dev = [
"black",
"cfn-lint",
"djlint",
"flake8",
"pre-commit",
"setuptools_scm>=8",
]
test = ["coverage", "pytest", "pytest-django", "pytest-mock", "pytest-socket"]
[project.urls]
Code = "https://github.com/compilerla/pems"
Homepage = "https://compilerla.github.io/pems/"
Issues = "https://github.com/compilerla/pems/issues"
[tool.setuptools]
# Explicitly declare that this "workspace" package contains no Python modules.
# This disables auto-discovery that causes errors.
py-modules = []
[tool.black]
line-length = 127
target-version = ["py312"]
include = '\.pyi?$'
[tool.coverage.run]
branch = true
relative_files = true
source = ["pems_data", "pems_streamlit", "pems_web"]
omit = ["pems_streamlit/src/pems_streamlit/apps/*"]
[tool.djlint]
ignore = "H006,H017,H031"
indent = 2
max_attribute_length = 127
max_line_length = 127
profile = "django"
preserve_blank_lines = true
use_gitignore = true
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.pytest.pems_web.settings"
# Explicitly add src directories to pytest's python path.
pythonpath = ["pems_data/src", "pems_streamlit/src", "pems_web/src"]