Skip to content

Commit a080e58

Browse files
committed
Merge branch 'feature/ruff-support' into feature/buff-worms
Closes #400 [ENG-8423]
2 parents 69b7309 + 5fd07dc commit a080e58

File tree

2 files changed

+136
-1
lines changed

2 files changed

+136
-1
lines changed

poetry.lock

Lines changed: 86 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ openpyxl = "^3.1"
4646
waterbutler = { git = "https://github.com/CenterForOpenScience/waterbutler.git", branch = "feature/buff-worms" }
4747
markupsafe = "2.0.1"
4848
celery = "5.5.0"
49+
black = "^25.1.0"
50+
isort = "^6.0.1"
51+
ruff = "^0.12.7"
4952

5053

5154
[tool.poetry.group.dev]
@@ -845,3 +848,50 @@ jasp = "mfr.extensions.jasp:JASPRenderer"
845848

846849
# Zip
847850
zip = "mfr.extensions.zip:ZipRenderer"
851+
852+
[tool.black]
853+
line-length = 88
854+
target-version = ["py313"]
855+
include = '\.pyi?$'
856+
exclude = '''
857+
/(
858+
\.venv
859+
|\.eggs
860+
|_build
861+
|build
862+
|dist
863+
|mfr\.egg-info
864+
)/
865+
'''
866+
867+
[tool.isort]
868+
profile = "black"
869+
line_length = 88
870+
known_first_party = ["mfr", "tests"]
871+
default_section = "THIRDPARTY"
872+
multi_line_output = 3
873+
include_trailing_comma = true
874+
force_grid_wrap = 0
875+
combine_as_imports = true
876+
skip = ["mfr.egg-info", ".venv"]
877+
878+
[tool.ruff]
879+
target-version = "py313"
880+
line-length = 88
881+
extend-select = [
882+
"E",
883+
"F",
884+
"C90",
885+
"I",
886+
"B",
887+
]
888+
extend-ignore = [
889+
"E203"
890+
]
891+
exclude = [
892+
"mfr.egg-info",
893+
".venv",
894+
"build",
895+
"dist",
896+
"ipynb"
897+
]

0 commit comments

Comments
 (0)