mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-15 19:28:00 +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
|
||||
- name: Run pycodestyle
|
||||
run: >
|
||||
find . -name '*\.py' -exec pycodestyle --ignore=E501,E402,E722 "{}" \+
|
||||
find .
|
||||
-name '*\.py'
|
||||
-exec pycodestyle --ignore=E402,E501,E722,W503 "{}" \+
|
||||
- name: Run twine
|
||||
run: |
|
||||
python3 -m build
|
||||
@@ -97,7 +99,7 @@ jobs:
|
||||
username: "${{ github.actor }}"
|
||||
password: "${{ secrets.GITHUB_TOKEN }}"
|
||||
# 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:
|
||||
- name: checkout Asciinema
|
||||
uses: actions/checkout@v2
|
||||
|
||||
Reference in New Issue
Block a user