File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 - id : end-of-file-fixer
66 - id : trailing-whitespace
77 - id : check-yaml
8- - repo : https://github.com/psf/black
9- rev : 23.10.1
8+ - repo : https://github.com/astral-sh/ruff-pre-commit
9+ # Ruff version.
10+ rev : v0.1.6
1011 hooks :
11- - id : black
12+ # Run the linter.
13+ - id : ruff
1214 args :
13- - --safe
14- - --quiet
15- files : ^((smarttub|tests)/.+)?[^/]+\.py$
16- - repo : https://gitlab.com/pycqa/flake8
17- rev : 3.8.3
18- hooks :
19- - id : flake8
15+ - --fix
16+ # Run the formatter.
17+ - id : ruff-format
2018- repo : local
2119 hooks :
2220 - id : pytest
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ def reminders(mock_spa):
1717 "remainingDuration" : 0 ,
1818 "snoozed" : False ,
1919 "state" : "INACTIVE" ,
20- }
20+ },
2121 ),
2222 SpaReminder (
2323 mock_spa ,
@@ -30,7 +30,7 @@ def reminders(mock_spa):
3030 "remainingDuration" : 0 ,
3131 "snoozed" : False ,
3232 "state" : "INACTIVE" ,
33- }
33+ },
3434 ),
3535 ]
3636 return reminders
You can’t perform that action at this time.
0 commit comments