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

Update ruff requirement from <0.6 to <0.9 #321

Merged
merged 2 commits into from
Dec 3, 2024
Merged
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
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
default_install_hook_types: [pre-commit, pre-push]
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.5 # if you update this, also update pyproject.toml
rev: v0.8.1 # if you update this, also update pyproject.toml
hooks:
- name: Ruff formatting
id: ruff-format
@@ -15,4 +15,4 @@ repos:
hooks:
- id: sqlfluff-lint
types: []
types_or: [sql,jinja]
types_or: [sql,jinja]
2 changes: 1 addition & 1 deletion cumulus_library/builders/valueset/umls.py
Original file line number Diff line number Diff line change
@@ -98,4 +98,4 @@ def generate_umls_tables(
WHERE v.code = r.code
AND v.sab=r.sab
--AND v.tty=r.tty
""")
""") # noqa: S608
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ dynamic=["version"]
[project.optional-dependencies]
dev = [
# if you update the ruff version, also update .pre-commit-config.yaml
"ruff < 0.6",
"ruff < 0.9",
"pre-commit",
]
test = [