Skip to content

Commit

Permalink
style: Update to Black v20.8 formatting (#16)
Browse files Browse the repository at this point in the history
* Apply Black v20.8b1 formatting
   - Should be similar to format of first stable release of Black
* Update Black pre-commit hook to use rev v20.8b1
   - Using pinned revs is the recommended approach for pre-commit: psf/black#420
  • Loading branch information
matthewfeickert committed Sep 21, 2020
1 parent 97cc34c commit e1f4a71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: stable
rev: 20.8b1
hooks:
- id: black
language_version: python3.7
language_version: python3
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -17,7 +17,7 @@
"black",
"twine",
],
"test": ["matplotlib",],
"test": ["matplotlib"],
}
extras_require["complete"] = sorted(set(sum(extras_require.values(), [])))

Expand Down

0 comments on commit e1f4a71

Please sign in to comment.