-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
50 lines (42 loc) · 1.18 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
[tool.poetry]
name = "ocsf-lib"
version = "0.8.2"
description = "Tools for working with the OCSF schema"
authors = ["Jeremy Fisher <[email protected]>"]
readme = "README.md"
license = "Apache-2.0"
packages = [
{ include = "ocsf", from = "src" },
]
[tool.poetry.dependencies]
python = "^3.11"
dacite = "^1.8.1"
semver = "^3.0.2"
termcolor = "^2.4.0"
[tool.poetry.group.dev.dependencies]
ruff = "^0.4.2"
pyright = "^1.1.361"
pytest = "^8.2.0"
pytest-env = "^1.1.3"
[tool.poetry.scripts]
compare = "ocsf.compare.__main__:main"
validate-compatibility = "ocsf.validate.compatibility.__main__:main"
compile = "ocsf.compile.__main__:main"
schema = "ocsf.schema.__main__:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pyright]
typeCheckingMode = "strict"
strict = ["src/ocsf"]
reportPrivateUsage = false # Unit testing private/protected things is A-OK in my book
[tool.pytest.ini_options]
markers = [
"integration: mark a test as an integration test",
"unit: mark a test as a unit test",
]
[tool.pytest_env]
COMPILE_REPO_PATH = "tests/ocsf/compile/ocsf-schema"
COMPILE_SCHEMA_PATH = "tests/ocsf/compile/ocsf-schema.json"
[tool.ruff]
line-length = 120