Skip to content

Commit

Permalink
pin versions so CI and local dev match (#10358)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop authored Jun 24, 2024
1 parent 2bae05b commit 64c5947
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ repos:
- "markdown"
- id: check-case-conflict
- repo: https://github.com/pycqa/isort
rev: 5.12.0
# rev must match what's in dev-requirements.txt
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/psf/black
# rev must match what's in dev-requirements.txt
rev: 22.3.0
hooks:
- id: black
Expand All @@ -34,13 +36,15 @@ repos:
- "--check"
- "--diff"
- repo: https://github.com/pycqa/flake8
# rev must match what's in dev-requirements.txt
rev: 4.0.1
hooks:
- id: flake8
- id: flake8
alias: flake8-check
stages: [manual]
- repo: https://github.com/pre-commit/mirrors-mypy
# rev must match what's in dev-requirements.txt
rev: v1.4.1
hooks:
- id: mypy
Expand Down
10 changes: 7 additions & 3 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@ git+https://github.com/dbt-labs/dbt-adapters.git@main
git+https://github.com/dbt-labs/dbt-adapters.git@main#subdirectory=dbt-tests-adapter
git+https://github.com/dbt-labs/dbt-common.git@main
git+https://github.com/dbt-labs/dbt-postgres.git@main
black>=24.3.0,<25.0
# black must match what's in .pre-commit-config.yaml to be sure local env matches CI
black==22.3.0
bumpversion
ddtrace==2.3.0
docutils
flake8
# flake8 must match what's in .pre-commit-config.yaml to be sure local env matches CI
flake8==4.0.1
flaky
freezegun>=1.4.0,<1.5
hypothesis
ipdb
isort>=5.12,<6
# isort must match what's in .pre-commit-config.yaml to be sure local env matches CI
isort==5.13.2
# mypy must match what's in .pre-commit-config.yaml to be sure local env matches CI
mypy==1.4.1
pip-tools
pre-commit
Expand Down

0 comments on commit 64c5947

Please sign in to comment.