Skip to content

Commit

Permalink
Add black to pre-commit and requirements.
Browse files Browse the repository at this point in the history
Follow on PR to reformat existing files
  • Loading branch information
caneff committed Oct 19, 2023
1 parent fe97d15 commit 0441e49
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ repos:
entry: mypy
language: system
types: [python]
- id: black
name: black
description: "Black: The uncompromising Python code formatter"
entry: black --line-length=100
language: python
require_serial: true
types: [python]
additional_dependencies: [black==23.1.0]
- id: pytest
name: pytest
entry: coverage run -m pytest --typeguard-packages=strictly_typed_pandas,tests
Expand Down

0 comments on commit 0441e49

Please sign in to comment.