Skip to content

Commit b806997

Browse files
committed
cleanup workflows
1 parent 20a09c1 commit b806997

File tree

24 files changed

+2939
-2912
lines changed

24 files changed

+2939
-2912
lines changed

.github/workflows/bandit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ jobs:
3535
env:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3737
with:
38-
path: "examples src"
38+
path: "python"
3939
recursive: "true"

.github/workflows/black.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ jobs:
3636
source ./venv/bin/activate
3737
echo "PATH=${PATH}" >> "${GITHUB_ENV}"
3838
python -m pip install --upgrade pip
39-
python -m pip install --requirement requirements.txt
40-
python -m pip install black
39+
python -m pip install --group all .
4140
4241
- name: Run black testing
4342
run: |

.github/workflows/dependency-scan.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ jobs:
3333
source ./venv/bin/activate
3434
echo "PATH=${PATH}" >> "${GITHUB_ENV}"
3535
python -m pip install --upgrade pip
36-
python -m pip install --requirement requirements.txt
37-
python -m pip install wheel
38-
python -m pip wheel -r requirements.txt --wheel-dir=vendor
36+
python -m pip install --group all .
3937
4038
- name: Run fpvs scan
4139
run: |
@@ -66,8 +64,7 @@ jobs:
6664
python -m venv ./venv
6765
source ./venv/bin/activate
6866
echo "PATH=${PATH}" >> "${GITHUB_ENV}"
69-
python -m pip install --requirement requirements.txt
70-
python -m pip install .
67+
python -m pip install --group all .
7168
7269
- name: Run pip-audit
7370
uses: pypa/gh-action-pip-audit@v1.1.0

.github/workflows/dotnet-format.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,5 @@ jobs:
5151
cd "$(dirname "$project")"
5252
dotnet restore
5353
dotnet format --verify-no-changes --verbosity diagnostic
54+
cd -
5455
done

.github/workflows/isort.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ jobs:
3535
source ./venv/bin/activate
3636
echo "PATH=${PATH}" >> "${GITHUB_ENV}"
3737
python -m pip install --upgrade pip
38-
python -m pip install --requirement requirements.txt
38+
python -m pip install --group all .
3939
4040
- name: Run isort
4141
uses: isort/isort-action@v1
4242
with:
43-
requirements-files: requirements.txt
44-
sort-paths: "examples src/template_python tests"
43+
sort-paths: "python"

.github/workflows/mypy.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ jobs:
3636
source ./venv/bin/activate
3737
echo "PATH=${PATH}" >> "${GITHUB_ENV}"
3838
python -m pip install --upgrade pip
39-
python -m pip install --requirement requirements.txt
40-
python -m pip install mypy
39+
python -m pip install --group all .
4140
4241
- name: Run mypy tests
4342
run: |

.github/workflows/pylint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: install dependencies
3333
run: |
3434
python -m pip install --upgrade pip
35-
pip install pylint
35+
python -m pip install --group all .
3636
3737
- name: analysing the code with pylint
3838
run: |

.pylintrc

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

.vscode/cspell.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"accessibilities",
99
"analysing",
1010
"Axxxx",
11+
"bugtracker",
1112
"CCLA",
1213
"cfgp",
1314
"codehaus",
@@ -35,6 +36,7 @@
3536
"optionxform",
3637
"pascalcase",
3738
"Pcheckstyle",
39+
"psutil",
3840
"pushback",
3941
"pydevproject",
4042
"pylint",
@@ -67,6 +69,7 @@
6769
"unresolving",
6870
"USERPROFILE",
6971
"venv",
72+
"virtualenv",
7073
"watchlist",
7174
"WATCHLIST",
7275
"xerial",

0 commit comments

Comments
 (0)