alozowski commited on
Commit
02c6ed9
1 Parent(s): 12ffb2f

Fix ruff setup

Browse files
Files changed (1) hide show
  1. pyproject.toml +7 -5
pyproject.toml CHANGED
@@ -29,15 +29,17 @@ dependencies = [
29
  line-length = 120
30
  target-version = "py312"
31
  include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]
 
 
 
32
 
33
- [tool.ruff.lint]
34
- select = ["E", "F", "ALL"]
35
  fixable = ["ALL"]
36
- ignore = ["E501", "I", "EM", "FBT", "TRY003", "S101", "D101", "D102", "D103", "D104", "D105", "G004", "D107", "FA102"]
37
 
38
- [tool.isort]
39
  profile = "black"
40
- line_length = 119
41
 
42
  [tool.black]
43
  line-length = 119
 
29
  line-length = 120
30
  target-version = "py312"
31
  include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]
32
+ ignore=["I","EM","FBT","TRY003","S101","D101","D102","D103","D104","D105","G004","D107","FA102"]
33
+ fixable=["ALL"]
34
+ select=["ALL"]
35
 
36
+ [tool.ruff.lint]
37
+ select = ["E", "F"]
38
  fixable = ["ALL"]
39
+ ignore = ["E501"] # line too long (black is taking care of this)
40
 
41
+ [tool.isort]
42
  profile = "black"
 
43
 
44
  [tool.black]
45
  line-length = 119