Skip to content

Commit

Permalink
Update ruff requirement from <0.6 to <0.9 (#321)
Browse files Browse the repository at this point in the history
* Update ruff requirement from <0.6 to <0.9

Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@v0.0.18...0.8.1)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Ruff fixes

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Terry <[email protected]>
  • Loading branch information
dependabot[bot] and mikix authored Dec 3, 2024
1 parent c4d93d1 commit 0e3c551
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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
Expand All @@ -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
Expand Up @@ -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
Expand Up @@ -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 = [
Expand Down

0 comments on commit 0e3c551

Please sign in to comment.