Skip to content

Commit 98acc3b

Browse files
committed
Updated project deployment scripts and enable uv support
1 parent 4dccfba commit 98acc3b

File tree

2 files changed

+1488
-2
lines changed

2 files changed

+1488
-2
lines changed

pyproject.toml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "attackcti"
3-
version = "0.5.5"
3+
version = "0.6.4"
44
description = "MITRE ATT&CK CTI Python library"
55
readme = "README.md"
66
license = { file = "LICENSE" }
@@ -44,9 +44,18 @@ Code = "https://github.com/OTRF/ATTACK-Python-Client"
4444

4545
[project.optional-dependencies]
4646
dev = [
47-
"pytest>=8",
47+
"pytest>=8.4.2",
48+
"pytest-asyncio>=0.23",
4849
"pyright>=1.1.407",
4950
"ruff>=0.14.6",
51+
"black",
52+
"anyio>=4",
53+
"build",
54+
"twine",
55+
"packaging",
56+
"setuptools",
57+
"setuptools_scm",
58+
"wheel",
5059
]
5160

5261
[project.scripts]
@@ -62,10 +71,28 @@ include = ["src/attackcti/py.typed"]
6271

6372
[tool.ruff]
6473
line-length = 120
74+
extend-exclude = [
75+
"docs/playground",
76+
]
6577

6678
[tool.ruff.lint]
6779
select = ["E", "F", "I", "D", "B"]
6880
ignore = ["E501"]
6981

7082
[tool.ruff.lint.pydocstyle]
7183
convention = "numpy"
84+
85+
[dependency-groups]
86+
dev = [
87+
"ruff>=0.14.9",
88+
]
89+
90+
[tool.pytest.ini_options]
91+
testpaths = ["tests"]
92+
python_files = ["test_*.py"]
93+
addopts = "-ra"
94+
pythonpath = ["src"]
95+
norecursedirs = ["repos", ".venv"]
96+
markers = [
97+
"integration: tests that spin a real local ipykernel; require RUN_INTEGRATION=1",
98+
]

0 commit comments

Comments
 (0)