Skip to content

Commit 8518d0a

Browse files
committed
Updated flake8 config and octocheese action
1 parent ca05f68 commit 8518d0a

File tree

131 files changed

+131
-129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+131
-129
lines changed

repo_helper/files/testing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ def testenv_lint(self):
299299
"flake8-builtins>=1.5.3",
300300
"flake8-docstrings>=1.5.0",
301301
"flake8-dunder-all>=0.1.1",
302+
"flake8-github-actions>=0.1.0",
302303
"flake8-pyi>=20.10.0",
303304
"flake8-pytest-style>=1.3.0",
304305
"flake8-sphinx-links>=0.0.4",
@@ -308,7 +309,6 @@ def testenv_lint(self):
308309
"git+https://github.com/domdfcoding/flake8-quotes.git",
309310
"git+https://github.com/domdfcoding/flake8-rst-docstrings.git",
310311
"git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2",
311-
"git+https://github.com/domdfcoding/flake8-github-actions",
312312
"pygments>=2.7.1",
313313
])
314314
# cmd = f"flake8 {' '.join(self.get_source_files())} --format=rst-toolbox"

repo_helper/templates/octocheese.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ jobs:
1616
pypi_name: "{{ pypi_name }}"
1717
env:
1818
GITHUB_TOKEN: ${{ "{{" }}secrets.GITHUB_TOKEN{{ "}}" }}
19+
if: startsWith(github.ref, 'refs/tags/') != true

tests/test_files/test_ci_cd_/test_make_github_octocheese.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ jobs:
1616
pypi_name: "hello-world"
1717
env:
1818
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
19+
if: startsWith(github.ref, 'refs/tags/') != true

tests/test_files/test_testing_/test_make_tox_py_modules0_0_782_mypy_deps0__no_stubs_devmode_docs_.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ deps =
7373
flake8-builtins>=1.5.3
7474
flake8-docstrings>=1.5.0
7575
flake8-dunder-all>=0.1.1
76+
flake8-github-actions>=0.1.0
7677
flake8-pyi>=20.10.0
7778
flake8-pytest-style>=1.3.0
7879
flake8-sphinx-links>=0.0.4
@@ -82,7 +83,6 @@ deps =
8283
git+https://github.com/domdfcoding/flake8-quotes.git
8384
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
8485
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
85-
git+https://github.com/domdfcoding/flake8-github-actions
8686
pygments>=2.7.1
8787
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}
8888

tests/test_files/test_testing_/test_make_tox_py_modules0_0_782_mypy_deps0__no_stubs_devmode_no_docs_.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ deps =
6464
flake8-builtins>=1.5.3
6565
flake8-docstrings>=1.5.0
6666
flake8-dunder-all>=0.1.1
67+
flake8-github-actions>=0.1.0
6768
flake8-pyi>=20.10.0
6869
flake8-pytest-style>=1.3.0
6970
flake8-sphinx-links>=0.0.4
@@ -73,7 +74,6 @@ deps =
7374
git+https://github.com/domdfcoding/flake8-quotes.git
7475
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
7576
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
76-
git+https://github.com/domdfcoding/flake8-github-actions
7777
pygments>=2.7.1
7878
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}
7979

tests/test_files/test_testing_/test_make_tox_py_modules0_0_782_mypy_deps0__no_stubs_no_devmode_docs_.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ deps =
7171
flake8-builtins>=1.5.3
7272
flake8-docstrings>=1.5.0
7373
flake8-dunder-all>=0.1.1
74+
flake8-github-actions>=0.1.0
7475
flake8-pyi>=20.10.0
7576
flake8-pytest-style>=1.3.0
7677
flake8-sphinx-links>=0.0.4
@@ -80,7 +81,6 @@ deps =
8081
git+https://github.com/domdfcoding/flake8-quotes.git
8182
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
8283
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
83-
git+https://github.com/domdfcoding/flake8-github-actions
8484
pygments>=2.7.1
8585
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}
8686

tests/test_files/test_testing_/test_make_tox_py_modules0_0_782_mypy_deps0__no_stubs_no_devmode_no_docs_.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ deps =
6262
flake8-builtins>=1.5.3
6363
flake8-docstrings>=1.5.0
6464
flake8-dunder-all>=0.1.1
65+
flake8-github-actions>=0.1.0
6566
flake8-pyi>=20.10.0
6667
flake8-pytest-style>=1.3.0
6768
flake8-sphinx-links>=0.0.4
@@ -71,7 +72,6 @@ deps =
7172
git+https://github.com/domdfcoding/flake8-quotes.git
7273
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
7374
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
74-
git+https://github.com/domdfcoding/flake8-github-actions
7575
pygments>=2.7.1
7676
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}
7777

tests/test_files/test_testing_/test_make_tox_py_modules0_0_782_mypy_deps0__stubs_devmode_docs_.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ deps =
7373
flake8-builtins>=1.5.3
7474
flake8-docstrings>=1.5.0
7575
flake8-dunder-all>=0.1.1
76+
flake8-github-actions>=0.1.0
7677
flake8-pyi>=20.10.0
7778
flake8-pytest-style>=1.3.0
7879
flake8-sphinx-links>=0.0.4
@@ -82,7 +83,6 @@ deps =
8283
git+https://github.com/domdfcoding/flake8-quotes.git
8384
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
8485
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
85-
git+https://github.com/domdfcoding/flake8-github-actions
8686
pygments>=2.7.1
8787
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}
8888

tests/test_files/test_testing_/test_make_tox_py_modules0_0_782_mypy_deps0__stubs_devmode_no_docs_.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ deps =
6464
flake8-builtins>=1.5.3
6565
flake8-docstrings>=1.5.0
6666
flake8-dunder-all>=0.1.1
67+
flake8-github-actions>=0.1.0
6768
flake8-pyi>=20.10.0
6869
flake8-pytest-style>=1.3.0
6970
flake8-sphinx-links>=0.0.4
@@ -73,7 +74,6 @@ deps =
7374
git+https://github.com/domdfcoding/flake8-quotes.git
7475
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
7576
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
76-
git+https://github.com/domdfcoding/flake8-github-actions
7777
pygments>=2.7.1
7878
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}
7979

tests/test_files/test_testing_/test_make_tox_py_modules0_0_782_mypy_deps0__stubs_no_devmode_docs_.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ deps =
7171
flake8-builtins>=1.5.3
7272
flake8-docstrings>=1.5.0
7373
flake8-dunder-all>=0.1.1
74+
flake8-github-actions>=0.1.0
7475
flake8-pyi>=20.10.0
7576
flake8-pytest-style>=1.3.0
7677
flake8-sphinx-links>=0.0.4
@@ -80,7 +81,6 @@ deps =
8081
git+https://github.com/domdfcoding/flake8-quotes.git
8182
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
8283
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
83-
git+https://github.com/domdfcoding/flake8-github-actions
8484
pygments>=2.7.1
8585
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}
8686

0 commit comments

Comments
 (0)