diff options
author | Wolfgang Müller | 2024-09-21 13:32:38 +0200 |
---|---|---|
committer | Wolfgang Müller | 2024-09-21 13:32:38 +0200 |
commit | 36998114fa17d481940bce277485b5fc8b6bd43a (patch) | |
tree | 05a1800f900dc6904866da2d3590dd7e3a4d4ee9 | |
parent | c54fd1f2c1d8f477608347e20a3dd7314ec903a6 (diff) | |
download | later-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.toml | 14 |
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 +] |