Skip to content

Commit 39ee4cc

Browse files
Merge branch 'master' into dependabot/github_actions/dot-github/workflows/master/ossf/scorecard-action-6622d322b30ed8cdd77455e4af0bddb2b735325c
2 parents e4dd4cb + e5ba717 commit 39ee4cc

20 files changed

+97
-90
lines changed

.appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
version: 1.0.{build}
23
branches:
34
only:

.bandit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# .bandit.yml
2+
---
23
# Strict configuration for Bandit to enforce comprehensive security checks.
34

45
# Define the directories to exclude from scanning.

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
version: 2.1
23
jobs:
34
build:
@@ -177,7 +178,7 @@ jobs:
177178
shell: /bin/bash
178179
name: "check code style and spelling"
179180
command: |
180-
make test-style || python3 -m flake8 --ignore=W191,W391,E117 --max-line-length=100 --verbose --count --config=.flake8.ini --max-complexity=10
181+
make test-style || python3 -m flake8 --verbose --count --config=.flake8.ini
181182
- run:
182183
shell: /bin/bash
183184
name: "clean up when done"

.codecov.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
codecov:
23
notify:
34
wait_for_ci: true
@@ -15,7 +16,7 @@ coverage:
1516
round: nearest
1617
status:
1718
changes: false
18-
default_rules:
19+
default_rules: # yamllint disable-line rule:truthy
1920
flag_coverage_not_uploaded_behavior: include
2021
patch: true
2122
project:

.coderabbit.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# .coderabbit.yaml
2+
---
23
language: en
34
early_access: true
45
enable_free_tier: true

.github/dependabot.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
# package ecosystems to update and where the package manifests are located.
33
# Please see the documentation for all configuration options:
44
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5-
5+
---
66
version: 2
77
updates:
8-
- package-ecosystem: "pip" # See documentation for possible values
9-
directory: "/" # Location of package manifests
8+
- package-ecosystem: "pip" # See documentation for possible values
9+
directory: "/" # Location of package manifests
1010
milestone: 1
1111
target-branch: "master"
1212
versioning-strategy: increase-if-necessary
@@ -41,8 +41,8 @@ updates:
4141
schedule:
4242
interval: "weekly"
4343
day: "tuesday"
44-
- package-ecosystem: "pip" # See documentation for possible values
45-
directory: "tests/" # Location of package manifests
44+
- package-ecosystem: "pip" # See documentation for possible values
45+
directory: "tests/" # Location of package manifests
4646
target-branch: "master"
4747
versioning-strategy: increase-if-necessary
4848
# Labels on pull requests for version updates only
@@ -96,8 +96,8 @@ updates:
9696
schedule:
9797
interval: "weekly"
9898
day: "tuesday"
99-
- package-ecosystem: "github-actions" # See documentation for possible values
100-
directory: ".github/workflows/" # Location of package manifests
99+
- package-ecosystem: "github-actions" # See documentation for possible values
100+
directory: ".github/workflows/" # Location of package manifests
101101
milestone: 1
102102
target-branch: "master"
103103
rebase-strategy: "disabled"

.github/labeler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# .github/labler.yml
2+
---
13
# Add 'Multicast' label to any root file changes
24
Multicast:
35
- changed-files:

.github/workflows/Labeler.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
---
12
name: "Pull Request Labeler"
2-
on:
3+
on: # yamllint disable-line rule:truthy
34
pull_request_target:
45
types: [opened, reopened]
56
branches: ["master", "stable"]

.github/workflows/Tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: CI
23
on: # yamllint disable-line rule:truthy
34
push:

.github/workflows/bandit.yml

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
# https://github.com/marketplace/actions/python-bandit-scan is ISC licensed
1111
# https://pypi.org/project/bandit/ is Apache v2.0 licensed, by PyCQA
12-
12+
---
1313
name: Bandit
1414
on: # yamllint disable-line rule:truthy
1515
push:
@@ -23,9 +23,9 @@ permissions: {}
2323
jobs:
2424
bandit:
2525
permissions:
26-
contents: read # for actions/checkout to fetch code
26+
contents: read # for actions/checkout to fetch code
2727
statuses: write
28-
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
28+
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
2929
runs-on: ubuntu-latest
3030
steps:
3131
- name: Checkout repository
@@ -34,20 +34,24 @@ jobs:
3434
persist-credentials: false
3535
- name: Bandit Scan
3636
uses: reactive-firewall/[email protected]
37-
with: # optional arguments
37+
with: # optional arguments
3838
# exit with 0, even with results found
39-
# exit_zero: false # optional, default is DEFAULT
39+
# exit_zero: false # optional, default is DEFAULT
4040
# Github token of the repository (automatically created by Github)
41-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information.
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information.
4242
# File or directory to run bandit on
43-
path: "." # optional, default is .
44-
# Report only issues of a given severity level or higher. Can be LOW, MEDIUM or HIGH. Default is UNDEFINED (everything)
45-
# level: MEDIUM # optional, default is UNDEFINED
46-
# Report only issues of a given confidence level or higher. Can be LOW, MEDIUM or HIGH. Default is UNDEFINED (everything)
47-
confidence: LOW # optional, default is UNDEFINED
48-
# comma-separated list of paths (glob patterns supported) to exclude from scan (note that these are in addition to the excluded paths provided in the config file) (default: .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg)
49-
# excluded_paths: # optional, default is DEFAULT
43+
path: "." # optional, default is .
44+
# Report only issues of a given severity level or higher. Can be LOW, MEDIUM or HIGH.
45+
# Default is UNDEFINED (everything)
46+
# level: MEDIUM # optional, default is UNDEFINED
47+
# Report only issues of a given confidence level or higher. Can be LOW, MEDIUM or HIGH.
48+
# Default is UNDEFINED (everything)
49+
confidence: LOW # optional, default is UNDEFINED
50+
# comma-separated list of paths (glob patterns supported) to exclude from scan
51+
# (note that these are in addition to the excluded paths provided in the config file)
52+
# (default: .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg)
53+
# excluded_paths: # optional, default is DEFAULT
5054
# comma-separated list of test IDs to skip
51-
# skips: # optional, default is DEFAULT
55+
# skips: # optional, default is DEFAULT
5256
# path to a .bandit file that supplies command line arguments
53-
# ini_path: # optional, default is DEFAULT
57+
# ini_path: # optional, default is DEFAULT

0 commit comments

Comments
 (0)