summaryrefslogtreecommitdiff
path: root/backend/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'backend/pyproject.toml')
-rw-r--r--backend/pyproject.toml15
1 files changed, 15 insertions, 0 deletions
diff --git a/backend/pyproject.toml b/backend/pyproject.toml
new file mode 100644
index 00000000..965df739
--- /dev/null
+++ b/backend/pyproject.toml
@@ -0,0 +1,15 @@
+[flake8]
+max-line-length = 88
+
+[tool.ruff]
+ignore = [
+ # Ignore line length check and let Black handle it
+ "E501",
+
+ # Ignore SyntaxError due to ruff not supporting pattern matching
+ # https://github.com/charliermarsh/ruff/issues/282
+ "E999",
+]
+
+# Assume Python 3.10.
+target-version = "py310"