-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4e7343e
commit 9b90c03
Showing
664 changed files
with
125,407 additions
and
354 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
|
@@ -33,20 +33,20 @@ jobs: | |
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install -r requirements.txt | ||
python -m pip install -e .[dev] | ||
python -m pip install -r requirements.txt -r requirements-dev.txt | ||
- name: Lint with flake8 | ||
- name: Linting and formatting with ruff | ||
run: | | ||
flake8 . --count --show-source --statistics | ||
ruff check . | ||
ruff format . --diff | ||
- name: Check typing with mypy | ||
- name: Linting with pyright | ||
run: | | ||
mypy --install-types --non-interactive . | ||
pyright --warnings --project pyproject.toml | ||
- name: Check syntax with pyupgrade | ||
- name: Dependency scanning with safety | ||
run: | | ||
find . -type f -regex '.*\.py$' -exec pyupgrade --py39-plus {} \; | ||
safety --disable-optional-telemetry check -r requirements.txt --full-report | ||
- name: Create k8s Kind Cluster | ||
uses: helm/[email protected] | ||
|
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Safety Security and License Configuration file | ||
# We recommend checking this file into your source control in the root of your Python project | ||
# If this file is named .safety-policy.yml and is in the same directory where you run `safety check` it will be used by default. | ||
# Otherwise, you can use the flag `safety check --policy-file <path-to-this-file>` to specify a custom location and name for the file. | ||
# To validate and review your policy file, run the validate command: `safety validate policy_file --path <path-to-this-file>` | ||
security: # configuration for the `safety check` command | ||
ignore-cvss-severity-below: 0 # A severity number between 0 and 10. Some helpful reference points: 9=ignore all vulnerabilities except CRITICAL severity. 7=ignore all vulnerabilities except CRITICAL & HIGH severity. 4=ignore all vulnerabilities except CRITICAL, HIGH & MEDIUM severity. | ||
ignore-cvss-unknown-severity: True # True or False. We recommend you set this to False. | ||
ignore-vulnerabilities: # Here you can list multiple specific vulnerabilities you want to ignore (optionally for a time period) | ||
45114: | ||
reason: "Vulnerability found in kubernetes version 24.2.0" | ||
expires: '2024-12-01' |
Oops, something went wrong.