Skip to content

Commit

Permalink
add pre-commit config to worker + lint hook (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-codecov committed Oct 11, 2023
1 parent 21d7b70 commit 9937c41
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
repos:
- repo: local
hooks:
- id: lint
name: lint
description: "Lint and sort"
entry: make lint
pass_filenames: false
require_serial: true
language: system
1 change: 1 addition & 0 deletions requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jinja2
analytics-python==1.3.0b1
lxml>=4.9.1
mock
pre-commit
psycopg2
PyJWT>=2.4.0
pytest-asyncio
Expand Down
17 changes: 17 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ cffi==1.14.5
# via
# cryptography
# google-crc32c
cfgv==3.4.0
# via pre-commit
charset-normalizer==2.0.12
# via requests
click==8.0.4
Expand Down Expand Up @@ -76,6 +78,8 @@ cryptography==41.0.4
# via shared
deprecated==1.2.12
# via opentelemetry-api
distlib==0.3.7
# via virtualenv
ecdsa==0.16.1
# via tlslite-ng
exceptiongroup==1.1.2
Expand All @@ -84,6 +88,8 @@ factory-boy==3.2.0
# via -r requirements.in
faker==8.8.2
# via factory-boy
filelock==3.12.4
# via virtualenv
freezegun==1.2.2
# via pytest-freezegun
google-api-core[grpc]==2.11.1
Expand Down Expand Up @@ -138,6 +144,8 @@ httpx==0.23.0
# -r requirements.in
# respx
# shared
identify==2.5.30
# via pre-commit
idna==2.10
# via
# anyio
Expand Down Expand Up @@ -168,6 +176,8 @@ monotonic==1.5
# via analytics-python
multidict==5.1.0
# via yarl
nodeenv==1.8.0
# via pre-commit
oauth2==1.9.0.post1
# via shared
oauthlib==3.1.0
Expand All @@ -193,8 +203,12 @@ opentelemetry-semantic-conventions==0.23b2
# opentelemetry-sdk
packaging==20.9
# via pytest
platformdirs==3.11.0
# via virtualenv
pluggy==0.13.1
# via pytest
pre-commit==3.4.0
# via -r requirements.in
prompt-toolkit==3.0.28
# via click-repl
proto-plus==1.22.3
Expand Down Expand Up @@ -261,6 +275,7 @@ pytz==2022.1
pyyaml==6.0.1
# via
# -r requirements.in
# pre-commit
# vcrpy
redis==4.5.4
# via
Expand Down Expand Up @@ -341,6 +356,8 @@ vine==5.0.0
# amqp
# celery
# kombu
virtualenv==20.24.5
# via pre-commit
wcwidth==0.2.5
# via prompt-toolkit
wrapt==1.12.1
Expand Down

0 comments on commit 9937c41

Please sign in to comment.