Skip to content

Commit

Permalink
build: pin ruff to v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
korikuzma committed Mar 1, 2024
1 parent 22ad138 commit 4d14284
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.14
rev: v0.2.0
hooks:
- id: ruff-format
- id: ruff
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencies = [
dynamic = ["version"]

[project.optional-dependencies]
dev = ["pre-commit", "ipython", "ipykernel", "psycopg2-binary", "ruff>=0.1.14"]
dev = ["pre-commit", "ipython", "ipykernel", "psycopg2-binary", "ruff==0.2.0"]
tests = ["pytest", "pytest-cov", "pytest-asyncio==0.18.3", "mock"]
docs = [
"sphinx==6.1.3",
Expand Down Expand Up @@ -87,7 +87,7 @@ branch = true
[tool.ruff]
src = ["src"]
exclude = ["docs/source/conf.py"]
select = [
lint.select = [
"F", # https://docs.astral.sh/ruff/rules/#pyflakes-f
"E", "W", # https://docs.astral.sh/ruff/rules/#pycodestyle-e-w
"I", # https://docs.astral.sh/ruff/rules/#isort-i
Expand Down Expand Up @@ -115,7 +115,7 @@ select = [
"PGH", # https://docs.astral.sh/ruff/rules/#pygrep-hooks-pgh
"RUF", # https://docs.astral.sh/ruff/rules/#ruff-specific-rules-ruf
]
fixable = [
lint.fixable = [
"I",
"F401",
"D",
Expand Down Expand Up @@ -147,15 +147,15 @@ fixable = [
# W191 - tab-indentation*
# S321 - suspicious-ftp-lib-usage
# *ignored for compatibility with formatter
ignore = [
lint.ignore = [
"ANN101", "ANN003",
"D203", "D205", "D206", "D213", "D300", "D400", "D415",
"E111", "E114", "E117", "E501",
"W191",
"S321",
]

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
# ANN001 - missing-type-function-argument
# ANN2 - missing-return-type
# ANN102 - missing-type-cls
Expand Down
2 changes: 1 addition & 1 deletion src/cool_seq_tool/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Define package version."""
__version__ = "0.4.0-dev2"
__version__ = "0.4.0-dev3"

0 comments on commit 4d14284

Please sign in to comment.