Skip to content

Commit

Permalink
Add pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
raidensakura committed Jun 9, 2023
1 parent baeff97 commit 119eb3c
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
repos:
- repo: https://github.com/psf/black
rev: "22.12.0"
hooks:
- id: black
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.261'
hooks:
- id: ruff
3 changes: 2 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ verify_ssl = true
black = "*"
ruff = "*"
typing-extensions = "==4.6.3"
pre-commit = "*"

[packages]
# Anytime the requirements change, please sync with requirements.txt:
# pipenv run pip freeze > requirements.txt
[packages]
aiohttp = "~=3.8.1"
colorama = "~=0.4.5"
emoji = "~=1.7.0"
Expand Down
111 changes: 110 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 119eb3c

Please sign in to comment.