aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWolfgang Müller2024-09-21 13:32:38 +0200
committerWolfgang Müller2024-09-21 13:32:38 +0200
commit36998114fa17d481940bce277485b5fc8b6bd43a (patch)
tree05a1800f900dc6904866da2d3590dd7e3a4d4ee9
parentc54fd1f2c1d8f477608347e20a3dd7314ec903a6 (diff)
downloadlater-36998114fa17d481940bce277485b5fc8b6bd43a.tar.gz
Add ruff.toml with lint settings
This should be a reasonable selection of linters. Also make sure that ruff picks up 'later' by default, since it is missing the .py suffix.
-rw-r--r--ruff.toml14
1 files changed, 14 insertions, 0 deletions
diff --git a/ruff.toml b/ruff.toml
new file mode 100644
index 0000000..2a53694
--- /dev/null
+++ b/ruff.toml
@@ -0,0 +1,14 @@
+include = ["later"]
+
+[lint]
+# https://docs.astral.sh/ruff/rules/
+select = [
+ "F", # pyflakes
+ "E", # pycodestyle
+ "W", # pycodestyle
+ "I", # isort
+ "UP", # pyupgrade
+ "B", # flake8-bugbear
+ "SIM", # flake8-simplify
+ "FURB" # refurb
+]