Changes for Black integration

This commit is contained in:
Nick Hall 2023-08-02 15:38:54 +01:00
parent 2b5a95135c
commit e9d2975df0
3 changed files with 13 additions and 1 deletions

2
.git-blame-ignore-revs Normal file
View File

@ -0,0 +1,2 @@
# Migrate code style to Black
41720c5a7e736587088d25140f7eee7af540f668

10
.github/workflows/black.yml vendored Normal file
View 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

View File

@ -206,7 +206,7 @@ ignore-imports=no
[FORMAT]
# 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.
ignore-long-lines=^\s*(# )?<?https?://\S+>?$