8000 Updated files with 'repo_helper'. (#20) · python-formate/flake8-encodings@52c3a8c · GitHub
[go: up one dir, main page]

Skip to content

Commit 52c3a8c

Browse files
Updated files with 'repo_helper'. (#20)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent 373241f commit 52c3a8c

File tree

7 files changed

+19
-24
lines changed
8000

7 files changed

+19
-24
lines changed

.github/workflows/cleanup.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/docs_test_action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout 🛎️
20-
uses: "actions/checkout@v1"
20+
uses: "actions/checkout@v2"
2121

2222
- name: Check for changed files
2323
uses: dorny/paths-filter@v2

.github/workflows/python_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: "windows-2019"
2222
continue-on-error: ${{ matrix.config.experimental }}
2323
env:
24-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.2,pypy-3.6,pypy-3.7'
24+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,pypy-3.6,pypy-3.7'
2525

2626
strategy:
2727
fail-fast: False
@@ -31,7 +31,7 @@ jobs:
3131
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
3232
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3333
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
34-
- {python-version: "3.10.0-rc.2", testenvs: "py310-dev,build", experimental: True}
34+
- {python-version: "3.10", testenvs: "py310-dev,build", experimental: True}
3535
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3636
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3737

.github/workflows/python_ci_linux.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "ubuntu-20.04"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.2,pypy-3.6,pypy-3.7'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,pypy-3.6,pypy-3.7'
2626

2727
strategy:
2828
fail-fast: False
@@ -32,7 +32,7 @@ jobs:
3232
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
3333
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3434
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
35-
- {python-version: "3.10.0-rc.2", testenvs: "py310-dev,build", experimental: True}
35+
- {python-version: "3.10", testenvs: "py310-dev,build", experimental: True}
3636
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3737
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3838

@@ -101,21 +101,26 @@ jobs:
101101
path: coverage
102102

103103
- name: Display structure of downloaded files
104+
id: show
104105
run: ls -R
105106
working-directory: coverage
107+
continue-on-error: true
106108

107109
- name: Combine Coverage 👷
110+
if: ${{ steps.show.outcome != 'failure' }}
108111
run: |
109112
shopt -s globstar
110113
python -m coverage combine coverage/**/.coverage
111114
112115
- name: "Upload Combined Coverage Artefact 🚀"
116+
if: ${{ steps.show.outcome != 'failure' }}
113117
uses: actions/upload-artifact@v2
114118
with:
115119
name: "combined-coverage"
116120
path: .coverage
117121

118122
- name: "Upload Combined Coverage to Coveralls"
123+
if: ${{ steps.show.outcome != 'failure' }}
119124
env:
120125
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
121126
run: |

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: "macos-latest"
2222
continue-on-error: ${{ matrix.config.experimental }}
2323
env:
24-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.2,pypy-3.6,pypy-3.7'
24+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,pypy-3.7'
2525

2626
strategy:
2727
fail-fast: False
@@ -31,8 +31,7 @@ jobs:
3131
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
3232
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3333
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
34-
- {python-version: "3.10.0-rc.2", testenvs: "py310-dev,build", experimental: True}
35-
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
34+
- {python-version: "3.10", testenvs: "py310-dev,build", experimental: True}
3635
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3736

3837
steps:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ repos:
3030
- id: end-of-file-fixer
3131

3232
- repo: https://github.com/domdfcoding/pre-commit-hooks
33-
rev: v0.2.1
33+
rev: v0.3.0
3434
hooks:
3535
- id: requirements-txt-sorter
3636
args:

tox.ini

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,14 @@ deps =
6565
flake8-noqa>=1.1.0
6666
flake8-pyi>=20.10.0
6767
flake8-pytest-style>=1.3.0
68+
flake8-quotes>=3.3.0
6869
flake8-slots>=0.1.0
6970
flake8-sphinx-links>=0.0.4
7071
flake8-strftime>=0.1.1
7172
flake8-typing-imports>=1.10.0
72-
git+https://github.com/domdfcoding/flake8-quotes.git
7373
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
7474
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
75+
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
7576
pydocstyle>=6.0.0
7677
pygments>=2.7.1
7778
importlib_metadata<4.5.0; python_version<'3.8'
@@ -135,6 +136,10 @@ multiline-quotes = """
135136
docstring-quotes = """
136137
count = True
137138
min_python_version = 3.6.1
139+
unused-arguments-ignore-abstract-functions = True
140+
unused-arguments-ignore-overload-functions = True
141+
unused-arguments-ignore-magic-methods = True
142+
unused-arguments-ignore-variadic-names = True
138143
139144
[coverage:run]
140145
plugins = coverage_pyver_pragma

0 commit comments

Comments
 (0)
0