Skip to content

Commit

Permalink
Updated flake8 config and octocheese action
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Nov 26, 2020
1 parent ca05f68 commit 8518d0a
Show file tree
Hide file tree
Showing 131 changed files with 131 additions and 129 deletions.
2 changes: 1 addition & 1 deletion repo_helper/files/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ def testenv_lint(self):
"flake8-builtins>=1.5.3",
"flake8-docstrings>=1.5.0",
"flake8-dunder-all>=0.1.1",
"flake8-github-actions>=0.1.0",
"flake8-pyi>=20.10.0",
"flake8-pytest-style>=1.3.0",
"flake8-sphinx-links>=0.0.4",
Expand All @@ -308,7 +309,6 @@ def testenv_lint(self):
"git+https://github.com/domdfcoding/flake8-quotes.git",
"git+https://github.com/domdfcoding/flake8-rst-docstrings.git",
"git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2",
"git+https://github.com/domdfcoding/flake8-github-actions",
"pygments>=2.7.1",
])
# cmd = f"flake8 {' '.join(self.get_source_files())} --format=rst-toolbox"
Expand Down
1 change: 1 addition & 0 deletions repo_helper/templates/octocheese.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ jobs:
pypi_name: "{{ pypi_name }}"
env:
GITHUB_TOKEN: ${{ "{{" }}secrets.GITHUB_TOKEN{{ "}}" }}
if: startsWith(github.ref, 'refs/tags/') != true
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ jobs:
pypi_name: "hello-world"
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
if: startsWith(github.ref, 'refs/tags/') != true
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -82,7 +83,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -73,7 +74,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -80,7 +81,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -71,7 +72,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -82,7 +83,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -73,7 +74,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -80,7 +81,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -71,7 +72,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -84,7 +85,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -74,7 +75,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -82,7 +83,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -72,7 +73,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -84,7 +85,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -74,7 +75,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -82,7 +83,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -72,7 +73,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -82,7 +83,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -73,7 +74,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -80,7 +81,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -71,7 +72,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -82,7 +83,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -73,7 +74,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-sphinx-links>=0.0.4
Expand All @@ -80,7 +81,6 @@ deps =
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
git+https://github.com/domdfcoding/flake8-github-actions
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx hello_world.py tests --allow-toolbox {posargs}

Expand Down
Loading

0 comments on commit 8518d0a

Please sign in to comment.