ruff: enable RUF ruleset

This commit is contained in:
Dima Gerasimov 2024-08-28 00:00:54 +01:00
parent dc0726c347
commit c3da26abcb
15 changed files with 31 additions and 27 deletions

View file

@ -27,7 +27,7 @@ class polar(user_config):
'''
Polar config is optional, you only need it if you want to specify custom 'polar_dir'
'''
polar_dir: PathIsh = Path('~/.polar').expanduser()
polar_dir: PathIsh = Path('~/.polar').expanduser() # noqa: RUF009
defensive: bool = True # pass False if you want it to fail faster on errors (useful for debugging)