Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pin versions so CI and local dev match #10358

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading