Skip to content

Commit cdf80fa

Browse files
authored
#955 Consolidate style checks via Makefile lint target (#1257)
1 parent 4a791b3 commit cdf80fa

4 files changed

Lines changed: 6 additions & 81 deletions

File tree

.github/workflows/bandit.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/ty.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/xcop.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
.SHELLFLAGS := -e -o pipefail -c
88
.SECONDARY:
99
SHELL := bash
10-
.PHONY: all clean requirements test it install xcop flake8 pylint bandit sphinx mypy lint e2e build coverage ruff
10+
.PHONY: all clean requirements test it install xcop flake8 pylint bandit sphinx mypy lint e2e build coverage ruff ty
1111

12-
all: requirements install test it lint xcop sphinx
12+
all: requirements install test it lint sphinx
1313

14-
lint: flake8 pylint mypy ruff
14+
lint: flake8 pylint mypy ruff bandit ty xcop
1515

1616
requirements:
1717
uv sync
@@ -45,6 +45,9 @@ bandit:
4545
ruff:
4646
uv run ruff check .
4747

48+
ty:
49+
uvx ty==0.0.1-alpha.8 check
50+
4851
sphinx:
4952
rm -rf sphinx html
5053
uv run sphinx-apidoc -o sphinx aibolit --full

0 commit comments

Comments
 (0)