Skip to content

Commit

Permalink
style: enable quote-annotations for TCH after updating ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
qartik committed Dec 13, 2023
1 parent e559646 commit d0af378
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ repos:
- black==23.10.1

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.7
rev: v0.1.8
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pydantic==2.5.2
pydata_sphinx_theme==0.14.4
pytest==7.4.3
rich==13.7.0
ruff==0.1.7
ruff==0.1.8
setuptools-scm==8.0.4
sphinx==7.2.6
wheel==0.42.0
3 changes: 3 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,8 @@ convention = "google"
[flake8-copyright]
author = "Quantinuum LLC"

[flake8-type-checking]
quote-annotations = true

[format]
preview = true

0 comments on commit d0af378

Please sign in to comment.