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 c4d3ce3 commit d450db9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
repos:
- repo: local
hooks:
- id: flake8
name: flake8
entry: flake8
language: system
types: [python]
- id: mypy
name: mypy
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
language: system
types: [python]
pass_filenames: false

0 comments on commit d450db9

Please sign in to comment.