mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 03:38:03 +01:00
[style] Ignore line break before binary operator
* https://www.python.org/dev/peps/pep-0008/#should-a-line-break-before-or-after-a-binary-operator * https://www.flake8rules.com/rules/W503.html
This commit is contained in:
6
.github/workflows/asciinema.yml
vendored
6
.github/workflows/asciinema.yml
vendored
@@ -19,7 +19,9 @@ jobs:
|
|||||||
run: pip install build cmarkgfm pycodestyle twine
|
run: pip install build cmarkgfm pycodestyle twine
|
||||||
- name: Run pycodestyle
|
- name: Run pycodestyle
|
||||||
run: >
|
run: >
|
||||||
find . -name '*\.py' -exec pycodestyle --ignore=E501,E402,E722 "{}" \+
|
find .
|
||||||
|
-name '*\.py'
|
||||||
|
-exec pycodestyle --ignore=E402,E501,E722,W503 "{}" \+
|
||||||
- name: Run twine
|
- name: Run twine
|
||||||
run: |
|
run: |
|
||||||
python3 -m build
|
python3 -m build
|
||||||
@@ -97,7 +99,7 @@ jobs:
|
|||||||
username: "${{ github.actor }}"
|
username: "${{ github.actor }}"
|
||||||
password: "${{ secrets.GITHUB_TOKEN }}"
|
password: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
# https://github.community/t/permission-problems-when-checking-out-code-as-part-of-github-action/202263
|
# https://github.community/t/permission-problems-when-checking-out-code-as-part-of-github-action/202263
|
||||||
options: "--interactive --tty --user=1001:121"
|
options: "--interactive --tty --user=1001:121"
|
||||||
steps:
|
steps:
|
||||||
- name: checkout Asciinema
|
- name: checkout Asciinema
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user