@@ -42,18 +42,18 @@ def command(*args: str) -> Iterable[str]:
4242 session .run (* command ("ruff" , "check" ), * files )
4343
4444
45- @nox .session (name = "project :fix" , python = False )
46- def fix (session : Session ) -> None :
47- """Runs all automated fixes on the code base"""
45+ @nox .session (name = "format :fix" , python = False )
46+ def fix_format (session : Session ) -> None :
47+ """Runs all automated format fixes on the code base"""
4848 py_files = get_filtered_python_files (PROJECT_CONFIG .root )
4949 _version (session , Mode .Fix )
5050 _pyupgrade (session , config = PROJECT_CONFIG , files = py_files )
5151 _ruff (session , mode = Mode .Fix , files = py_files )
5252 _code_format (session , Mode .Fix , py_files )
5353
5454
55- @nox .session (name = "project: format" , python = False )
56- def fmt_check (session : Session ) -> None :
55+ @nox .session (name = "format:check " , python = False )
56+ def check_format (session : Session ) -> None :
5757 """Checks the project for correct formatting"""
5858 py_files = get_filtered_python_files (PROJECT_CONFIG .root )
5959 _ruff (session , mode = Mode .Check , files = py_files )
0 commit comments