Skip to content

Commit

Permalink
Merge pull request #2587 from jdufresne/black
Browse files Browse the repository at this point in the history
Use black to format Python files
  • Loading branch information
larsoner authored Nov 17, 2022
2 parents acb7189 + 2c4d32b commit 31b31d1
Show file tree
Hide file tree
Showing 9 changed files with 1,185 additions and 909 deletions.
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a7d80cf9a40ca7759f62da297cc53919b6616dca
12 changes: 12 additions & 0 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: black

on:
- push
- pull_request

jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ include COPYING
include bin/codespell
exclude *.yml *.yaml
exclude .coveragerc
exclude .git-blame-ignore-revs
exclude example example/* snap snap/* tools tools/*
exclude Makefile
exclude codespell.1.include
2 changes: 1 addition & 1 deletion codespell_lib/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ._codespell import _script_main

if __name__ == '__main__':
if __name__ == "__main__":
_script_main()
Loading

0 comments on commit 31b31d1

Please sign in to comment.