-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (75 loc) · 1.81 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (75 loc) · 1.81 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
[project]
name = "resource-planning"
dynamic = ["version"]
description = "Compiler interface for Resource Planning."
readme = "README.md"
license-files = ["LICENSE"]
classifiers = ["Programming Language :: Python :: 3 :: Only"]
requires-python = ">=3.12"
maintainers = [
{ name = "Compiler LLC", email = "dev@compiler.la" }
]
dependencies = [
"Django==5.2.11",
"django-csp==4.0",
"django-google-sso==9.0.3",
"requests==2.33.0",
"six==1.17.0",
]
[project.optional-dependencies]
dev = [
"black",
"djlint",
"flake8",
"isort",
"pre-commit",
"setuptools_scm>=8"
]
test = [
"coverage",
"pytest",
"pytest-django",
"pytest-mock",
"pytest-socket",
]
[project.urls]
Changelog = "https://github.com/compilerla/resource-planning/releases"
Code = "https://github.com/compilerla/resource-planning"
Issues = "https://github.com/compilerla/resource-planning/issues"
[build-system]
requires = ["setuptools>=65", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 127
target-version = ['py312']
include = '\.pyi?$'
[tool.coverage.run]
branch = true
relative_files = true
omit = [
"resource_planning/**/migrations/*"
]
source = ["resource_planning"]
[tool.djlint]
ignore = "H017,H031"
indent = 2
max_attribute_length = 127
max_line_length = 127
profile = "django"
preserve_blank_lines = true
use_gitignore = true
[tool.isort]
profile = "black"
combine_as_imports = true
line_length = 127
skip_gitignore = true
[tool.pyright]
include = ["resource_planning", "tests/pytest"]
typeCheckingMode = "off"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.pytest.settings"
[tool.setuptools.packages.find]
include = ["resource-planning*"]
namespaces = false
[tool.setuptools_scm]
# intentionally left blank, but we need the section header to activate the tool