Changes for Black integration
This commit is contained in:
parent
2b5a95135c
commit
e9d2975df0
2
.git-blame-ignore-revs
Normal file
2
.git-blame-ignore-revs
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Migrate code style to Black
|
||||||
|
41720c5a7e736587088d25140f7eee7af540f668
|
10
.github/workflows/black.yml
vendored
Normal file
10
.github/workflows/black.yml
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
name: Lint
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: psf/black@stable
|
@ -206,7 +206,7 @@ ignore-imports=no
|
|||||||
[FORMAT]
|
[FORMAT]
|
||||||
|
|
||||||
# Maximum number of characters on a single line.
|
# Maximum number of characters on a single line.
|
||||||
max-line-length=80
|
max-line-length=88
|
||||||
|
|
||||||
# Regexp for a line that is allowed to be longer than the limit.
|
# Regexp for a line that is allowed to be longer than the limit.
|
||||||
ignore-long-lines=^\s*(# )?<?https?://\S+>?$
|
ignore-long-lines=^\s*(# )?<?https?://\S+>?$
|
||||||
|
Loading…
Reference in New Issue
Block a user