Skip to content
Snippets Groups Projects
Commit 5897a06c authored by Rob Moss's avatar Rob Moss
Browse files

Bump ruff version, resolve 2024.2 style lint

parent 1477c4e8
Branches
Tags
No related merge requests found
Pipeline #85139 passed
......@@ -86,6 +86,6 @@ def docs(session):
def ruff(session):
"""Check code for linter warnings and formatting issues."""
check_files = ['src', 'tests', 'doc', 'noxfile.py']
session.install('ruff ~= 0.1.9')
session.install('ruff ~= 0.3')
session.run('ruff', 'check', *check_files)
session.run('ruff', 'format', '--diff', *check_files)
"""
Test the construction and behaviour of simulation contexts.
"""
import copy
import logging
import numpy as np
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment