Skip to content

Commit

Permalink
Add precommit config
Browse files Browse the repository at this point in the history
  • Loading branch information
Brad-Edwards committed May 14, 2024
1 parent c031075 commit 527d06f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
repos:
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
language_version: python3

- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
language_version: python3
additional_dependencies: [toml]

- repo: https://github.com/pycqa/flake8
rev: 7.0.0
hooks:
- id: flake8
2 changes: 1 addition & 1 deletion scripts/custom/keyword_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from docx.oxml.ns import qn
from docx.shared import RGBColor

target_date = datetime(2024, 5, 2)
target_date = datetime(2024, 5, 13)


def latex_to_human_readable(latex_str):
Expand Down

0 comments on commit 527d06f

Please sign in to comment.