forked from certtools/intelmq
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (19 loc) · 683 Bytes
/
Makefile
File metadata and controls
27 lines (19 loc) · 683 Bytes
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
# SPDX-FileCopyrightText: 2023-2025 Filip Pokorný, Sebastian Wagner
# SPDX-License-Identifier: AGPL-3.0-or-later
.PHONY: coverage docs clean test codespell codestyle
coverage:
python -m pytest --cov=intelmq -v
docs: mkdocs.yml docs/* intelmq/etc/feeds.yaml intelmq/etc/harmonization.conf intelmq/lib/harmonization.py
python3 scripts/generate-feeds-docs.py
python3 scripts/generate-event-docs.py
mkdocs build
clean:
rm -rf docs_build .mypy_cache .coverage .pytest_cache dist
codespell:
codespell -x .github/workflows/codespell.excludelines
test:
pytest --no-cov -v intelmq/tests/ && echo "Success!"
codestyle:
pycodestyle intelmq/{bots,lib,bin}
licenses:
reuse lint