Skip to content

Commit

Permalink
chore: 🔧 add ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
noshita committed Mar 10, 2024
1 parent 09f8c4a commit 2853d8a
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ docs = [
]

[tool.poetry.group.dev.dependencies]
autopep8 = "^1.6.0"
flake8 = "^5.0.4"
invoke = "^1.4.1"
jupyter = "^1.0.0"
jupyterlab = "^3.4.4"
Expand Down Expand Up @@ -109,3 +107,22 @@ unauthorized_licenses = [

[tool.liccheck.authorized_packages]
uuid = "<=1.30"

[tool.ruff]
exclude = [
".git",
"__pycache__",
"dist",
"doc/_build",
"doc/notebooks",
"doc/generated",
]
line-length = 88

[tool.ruff.lint]
# all rules can be found here: https://beta.ruff.rs/docs/rules/
ignore = [
"E731", # do not assign a lambda expression, use a def
"E741", # do not use variables named 'l', 'O', or 'I'
]
select = ["E", "F", "W", "I"]

0 comments on commit 2853d8a

Please sign in to comment.