Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit 9fed78c

Browse files
committed
linting error
1 parent 566396d commit 9fed78c

36 files changed

+1928
-1928
lines changed

.ansible-lint

+22-22
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
---
2-
# See https://ansible-lint.readthedocs.io/en/latest/configuring.html
3-
# for a list of the configuration elements that can exist in this
4-
# file.
5-
enable_list:
6-
# Useful checks that one must opt-into. See here for more details:
7-
# https://ansible-lint.readthedocs.io/en/latest/rules.html
8-
- fcqn-builtins
9-
- no-log-password
10-
- no-same-owner
11-
exclude_paths:
12-
# This exclusion is implicit, unless exclude_paths is defined
13-
- .cache
14-
# Seems wise to ignore this too
15-
- .github
16-
kinds:
17-
# This will force our systemd specific molecule configurations to be treated
18-
# as plain yaml files by ansible-lint. This mirrors the default kind
19-
# configuration in ansible-lint for molecule configurations:
20-
# yaml: "**/molecule/*/{base,molecule}.{yaml,yml}"
21-
- yaml: "**/molecule/*/molecule-{no,with}-systemd.yml"
22-
use_default_rules: true
1+
---
2+
# See https://ansible-lint.readthedocs.io/en/latest/configuring.html
3+
# for a list of the configuration elements that can exist in this
4+
# file.
5+
enable_list:
6+
# Useful checks that one must opt-into. See here for more details:
7+
# https://ansible-lint.readthedocs.io/en/latest/rules.html
8+
- fcqn-builtins
9+
- no-log-password
10+
- no-same-owner
11+
exclude_paths:
12+
# This exclusion is implicit, unless exclude_paths is defined
13+
- .cache
14+
# Seems wise to ignore this too
15+
- .github
16+
kinds:
17+
# This will force our systemd specific molecule configurations to be treated
18+
# as plain yaml files by ansible-lint. This mirrors the default kind
19+
# configuration in ansible-lint for molecule configurations:
20+
# yaml: "**/molecule/*/{base,molecule}.{yaml,yml}"
21+
- yaml: "**/molecule/*/molecule-{no,with}-systemd.yml"
22+
use_default_rules: true

.bandit.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
---
2-
# Configuration file for the Bandit python security scanner
3-
# https://bandit.readthedocs.io/en/latest/config.html
4-
5-
# Tests are first included by `tests`, and then excluded by `skips`.
6-
# If `tests` is empty, all tests are are considered included.
7-
8-
tests:
9-
# - B101
10-
# - B102
11-
12-
skips:
13-
- B101 # skip "assert used" check since assertions are required in pytests
1+
---
2+
# Configuration file for the Bandit python security scanner
3+
# https://bandit.readthedocs.io/en/latest/config.html
4+
5+
# Tests are first included by `tests`, and then excluded by `skips`.
6+
# If `tests` is empty, all tests are are considered included.
7+
8+
tests:
9+
# - B101
10+
# - B102
11+
12+
skips:
13+
- B101 # skip "assert used" check since assertions are required in pytests

.flake8

+25-25
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
[flake8]
2-
max-line-length = 80
3-
# Select (turn on)
4-
# * Complexity violations reported by mccabe (C) -
5-
# http://flake8.pycqa.org/en/latest/user/error-codes.html#error-violation-codes
6-
# * Documentation conventions compliance reported by pydocstyle (D) -
7-
# http://www.pydocstyle.org/en/stable/error_codes.html
8-
# * Default errors and warnings reported by pycodestyle (E and W) -
9-
# https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
10-
# * Default errors reported by pyflakes (F) -
11-
# http://flake8.pycqa.org/en/latest/glossary.html#term-pyflakes
12-
# * Default warnings reported by flake8-bugbear (B) -
13-
# https://github.com/PyCQA/flake8-bugbear#list-of-warnings
14-
# * The B950 flake8-bugbear opinionated warning -
15-
# https://github.com/PyCQA/flake8-bugbear#opinionated-warnings
16-
select = C,D,E,F,W,B,B950
17-
# Ignore flake8's default warning about maximum line length, which has
18-
# a hard stop at the configured value. Instead we use
19-
# flake8-bugbear's B950, which allows up to 10% overage.
20-
#
21-
# Also ignore flake8's warning about line breaks before binary
22-
# operators. It no longer agrees with PEP8. See, for example, here:
23-
# https://github.com/ambv/black/issues/21. Guido agrees here:
24-
# https://github.com/python/peps/commit/c59c4376ad233a62ca4b3a6060c81368bd21e85b.
25-
ignore = E501,W503
1+
[flake8]
2+
max-line-length = 80
3+
# Select (turn on)
4+
# * Complexity violations reported by mccabe (C) -
5+
# http://flake8.pycqa.org/en/latest/user/error-codes.html#error-violation-codes
6+
# * Documentation conventions compliance reported by pydocstyle (D) -
7+
# http://www.pydocstyle.org/en/stable/error_codes.html
8+
# * Default errors and warnings reported by pycodestyle (E and W) -
9+
# https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
10+
# * Default errors reported by pyflakes (F) -
11+
# http://flake8.pycqa.org/en/latest/glossary.html#term-pyflakes
12+
# * Default warnings reported by flake8-bugbear (B) -
13+
# https://github.com/PyCQA/flake8-bugbear#list-of-warnings
14+
# * The B950 flake8-bugbear opinionated warning -
15+
# https://github.com/PyCQA/flake8-bugbear#opinionated-warnings
16+
select = C,D,E,F,W,B,B950
17+
# Ignore flake8's default warning about maximum line length, which has
18+
# a hard stop at the configured value. Instead we use
19+
# flake8-bugbear's B950, which allows up to 10% overage.
20+
#
21+
# Also ignore flake8's warning about line breaks before binary
22+
# operators. It no longer agrees with PEP8. See, for example, here:
23+
# https://github.com/ambv/black/issues/21. Guido agrees here:
24+
# https://github.com/python/peps/commit/c59c4376ad233a62ca4b3a6060c81368bd21e85b.
25+
ignore = E501,W503

.github/CODEOWNERS

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Each line is a file pattern followed by one or more owners.
2-
3-
# These owners will be the default owners for everything in the
4-
# repo. Unless a later match takes precedence, these owners will be
5-
# requested for review when someone opens a pull request.
6-
* @dav3r @felddy @jsf9k @mcdonnnj
7-
8-
# These folks own any files in the .github directory at the root of
9-
# the repository and any of its subdirectories.
10-
/.github/ @dav3r @felddy @jsf9k @mcdonnnj
1+
# Each line is a file pattern followed by one or more owners.
2+
3+
# These owners will be the default owners for everything in the
4+
# repo. Unless a later match takes precedence, these owners will be
5+
# requested for review when someone opens a pull request.
6+
* @dav3r @felddy @jsf9k @mcdonnnj
7+
8+
# These folks own any files in the .github directory at the root of
9+
# the repository and any of its subdirectories.
10+
/.github/ @dav3r @felddy @jsf9k @mcdonnnj

.github/dependabot.yml

+40-40
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
1-
---
2-
3-
# Any ignore directives should be uncommented in downstream projects to disable
4-
# Dependabot updates for the given dependency. Downstream projects will get
5-
# these updates when the pull request(s) in the appropriate skeleton are merged
6-
# and Lineage processes these changes.
7-
8-
version: 2
9-
updates:
10-
- package-ecosystem: "docker"
11-
directory: "/"
12-
schedule:
13-
interval: "weekly"
14-
15-
- package-ecosystem: "github-actions"
16-
directory: "/"
17-
schedule:
18-
interval: "weekly"
19-
ignore:
20-
- dependency-name: actions/cache
21-
- dependency-name: actions/checkout
22-
- dependency-name: actions/setup-python
23-
# Managed by cisagov/skeleton-docker
24-
# - dependency-name: actions/download-artifact
25-
# - dependency-name: actions/github-script
26-
# - dependency-name: actions/upload-artifact
27-
# - dependency-name: docker/build-push-action
28-
# - dependency-name: docker/login-action
29-
# - dependency-name: docker/setup-buildx-action
30-
# - dependency-name: docker/setup-qemu-action
31-
32-
- package-ecosystem: "pip"
33-
directory: "/"
34-
schedule:
35-
interval: "weekly"
36-
37-
- package-ecosystem: "terraform"
38-
directory: "/"
39-
schedule:
40-
interval: "weekly"
1+
---
2+
3+
# Any ignore directives should be uncommented in downstream projects to disable
4+
# Dependabot updates for the given dependency. Downstream projects will get
5+
# these updates when the pull request(s) in the appropriate skeleton are merged
6+
# and Lineage processes these changes.
7+
8+
version: 2
9+
updates:
10+
- package-ecosystem: "docker"
11+
directory: "/"
12+
schedule:
13+
interval: "weekly"
14+
15+
- package-ecosystem: "github-actions"
16+
directory: "/"
17+
schedule:
18+
interval: "weekly"
19+
ignore:
20+
- dependency-name: actions/cache
21+
- dependency-name: actions/checkout
22+
- dependency-name: actions/setup-python
23+
# Managed by cisagov/skeleton-docker
24+
# - dependency-name: actions/download-artifact
25+
# - dependency-name: actions/github-script
26+
# - dependency-name: actions/upload-artifact
27+
# - dependency-name: docker/build-push-action
28+
# - dependency-name: docker/login-action
29+
# - dependency-name: docker/setup-buildx-action
30+
# - dependency-name: docker/setup-qemu-action
31+
32+
- package-ecosystem: "pip"
33+
directory: "/"
34+
schedule:
35+
interval: "weekly"
36+
37+
- package-ecosystem: "terraform"
38+
directory: "/"
39+
schedule:
40+
interval: "weekly"

.github/lineage.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
---
2-
lineage:
3-
skeleton:
4-
remote-url: https://github.com/cisagov/skeleton-generic.git
5-
version: '1'
1+
---
2+
lineage:
3+
skeleton:
4+
remote-url: https://github.com/cisagov/skeleton-generic.git
5+
version: '1'

0 commit comments

Comments
 (0)