generated from ghga-de/microservice-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update template files Make minor changes according to pre-commit results * Update the readme * Quiet mypy --------- Co-authored-by: TheByronHimes <[email protected]>
- Loading branch information
1 parent
8af81c2
commit 996a1f2
Showing
56 changed files
with
2,299 additions
and
828 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[paths] | ||
source = | ||
src | ||
/workspace/src | ||
**/lib/python*/site-packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,29 +10,19 @@ jobs: | |
- uses: actions/checkout@v3 | ||
|
||
- id: common | ||
uses: ghga-de/gh-action-common@v2 | ||
uses: ghga-de/gh-action-common@v3 | ||
|
||
- uses: pre-commit/[email protected] | ||
env: | ||
SKIP: no-commit-to-branch | ||
- name: ruff | ||
uses: chartboost/ruff-action@v1 | ||
- name: black | ||
run: | | ||
black --check . | ||
- name: isort | ||
run: | | ||
isort --check --profile black . | ||
- name: mypy | ||
run: | | ||
mypy . | ||
- name: pylint | ||
run: | | ||
pylint "${{ steps.common.outputs.MAIN_SRC_DIR }}" | ||
- name: flake8 | ||
run: | | ||
flake8 --config .flake8 | ||
- name: bandit | ||
run: | | ||
bandit -r "${{ steps.common.outputs.MAIN_SRC_DIR }}" | ||
- name: Check license header and file | ||
run: | | ||
./scripts/license_checker.py |
16 changes: 9 additions & 7 deletions
16
.github/workflows/unit_and_int_tests.yaml → .github/workflows/tests.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ coverage.xml | |
*.py,cover | ||
.hypothesis/ | ||
.pytest_cache/ | ||
.ruff_cache/ | ||
prof/ | ||
|
||
# Translations | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.