Skip to content

Commit 925940c

Browse files
mesh-2092 support all python versions in sonar
1 parent cc7ca38 commit 925940c

File tree

4 files changed

+118
-120
lines changed

4 files changed

+118
-120
lines changed

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
python 3.8.18
22
nodejs 24.7.0
33
poetry 1.8.5
4+
java corretto-11.0.26.4.1

Makefile

Lines changed: 56 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,56 @@
1-
SHELL=/bin/bash -euo pipefail
2-
3-
install: install-node install-python install-hooks
4-
5-
install-python:
6-
poetry install
7-
8-
install-node:
9-
npm install
10-
11-
install-hooks:
12-
cp scripts/pre-commit .git/hooks/pre-commit
13-
14-
test:
15-
@echo disable for spec only
16-
17-
black:
18-
poetry run black .
19-
20-
black-check:
21-
poetry run black . --check
22-
23-
ruff: black
24-
poetry run ruff check --fix --show-fixes .
25-
26-
ruff-check:
27-
poetry run ruff check .
28-
29-
ruff-ci:
30-
poetry run ruff check --output-format=github .
31-
32-
lint: ruff
33-
npm run lint
34-
35-
publish:
36-
npm run publish 2> /dev/null
37-
38-
clean:
39-
rm -rf build
40-
rm -rf dist
41-
42-
check-licenses:
43-
npm run check-licenses
44-
scripts/check_python_licenses.sh
45-
46-
format:
47-
poetry run black **/*.py
48-
49-
release: clean publish
50-
mkdir -p dist
51-
cp -r build/. dist
1+
SHELL=/bin/bash -euo pipefail
2+
3+
install: install-node install-python install-hooks
4+
5+
update:
6+
poetry update
7+
npm update
8+
9+
install-python:
10+
poetry install
11+
12+
install-node:
13+
npm install
14+
15+
install-hooks:
16+
cp scripts/pre-commit .git/hooks/pre-commit
17+
18+
test:
19+
@echo disable for spec only
20+
21+
black:
22+
poetry run black .
23+
24+
black-check:
25+
poetry run black . --check
26+
27+
ruff: black
28+
poetry run ruff check --fix --show-fixes .
29+
30+
ruff-check:
31+
poetry run ruff check .
32+
33+
ruff-ci:
34+
poetry run ruff check --output-format=github .
35+
36+
lint:
37+
ruff check
38+
npm run lint
39+
40+
publish:
41+
npm run publish 2> /dev/null
42+
43+
clean:
44+
rm -rf build
45+
rm -rf dist
46+
47+
check-licenses:
48+
npm run check-licenses
49+
scripts/check_python_licenses.sh
50+
51+
format:
52+
poetry run black **/*.py
53+
54+
release: clean publish
55+
mkdir -p dist
56+
cp -r build/. dist

package-lock.json

Lines changed: 37 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

poetry.lock

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)