@@ -13,10 +13,10 @@ ignore = ["B028", "RUF013"]
1313
1414[tool .ruff .lint .per-file-ignores ]
1515# Default implementation in abstract methods
16- "./stable_baselines3/common/callbacks.py" = [" B027" ]
17- "./stable_baselines3/common/noise.py" = [" B027" ]
16+ "./stable_baselines3/common/callbacks.py" = [" B027" ]
17+ "./stable_baselines3/common/noise.py" = [" B027" ]
1818# ClassVar, implicit optional check not needed for tests
19- "./tests/*.py" = [" RUF012" , " RUF013" ]
19+ "./tests/*.py" = [" RUF012" , " RUF013" ]
2020
2121
2222[tool .ruff .lint .mccabe ]
@@ -37,33 +37,35 @@ exclude = """(?x)(
3737
3838[tool .pytest .ini_options ]
3939# Deterministic ordering for tests; useful for pytest-xdist.
40- env = [
41- " PYTHONHASHSEED=0"
42- ]
40+ env = [" PYTHONHASHSEED=0" ]
4341
4442filterwarnings = [
4543 # Tensorboard warnings
4644 " ignore::DeprecationWarning:tensorboard" ,
4745 # Gymnasium warnings
4846 " ignore::UserWarning:gymnasium" ,
4947 # tqdm warning about rich being experimental
50- " ignore:rich is experimental"
48+ " ignore:rich is experimental" ,
5149]
5250markers = [
53- " expensive: marks tests as expensive (deselect with '-m \" not expensive\" ')"
51+ " expensive: marks tests as expensive (deselect with '-m \" not expensive\" ')" ,
5452]
5553
5654[tool .coverage .run ]
5755disable_warnings = [" couldnt-parse" ]
5856branch = false
5957omit = [
60- " tests/*" ,
61- " setup.py" ,
62- # Require graphical interface
63- " stable_baselines3/common/results_plotter.py" ,
64- # Require ffmpeg
65- " stable_baselines3/common/vec_env/vec_video_recorder.py" ,
58+ " tests/*" ,
59+ " setup.py" ,
60+ # Require graphical interface
61+ " stable_baselines3/common/results_plotter.py" ,
62+ # Require ffmpeg
63+ " stable_baselines3/common/vec_env/vec_video_recorder.py" ,
6664]
6765
6866[tool .coverage .report ]
69- exclude_lines = [ " pragma: no cover" , " raise NotImplementedError()" , " if typing.TYPE_CHECKING:" ]
67+ exclude_lines = [
68+ " pragma: no cover" ,
69+ " raise NotImplementedError()" ,
70+ " if typing.TYPE_CHECKING:" ,
71+ ]
0 commit comments