Skip to content

Commit

Permalink
fix lint - rebased over copierfy
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Apr 18, 2024
1 parent c851851 commit 8ab9f57
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ write_to = "src/ophyd_async/_version.py"
[tool.pytest.ini_options]
# Run pytest with all our checkers, and don't spam us with massive tracebacks on error
addopts = """
--tb=native -vv --strict-markers --doctest-modules
--tb=native -vv --strict-markers --doctest-modules
--doctest-glob="*.rst" --doctest-glob="*.md" --ignore=docs/examples
--cov=src/ophyd_async --cov-report term --cov-report xml:cov.xml
"""
Expand Down Expand Up @@ -134,7 +134,7 @@ commands =
[tool.ruff]
src = ["src", "tests"]
line-length = 88
select = [
lint.select = [
"C4", # flake8-comprehensions - https://beta.ruff.rs/docs/rules/#flake8-comprehensions-c4
"E", # pycodestyle errors - https://beta.ruff.rs/docs/rules/#error-e
"F", # pyflakes rules - https://beta.ruff.rs/docs/rules/#pyflakes-f
Expand Down
3 changes: 2 additions & 1 deletion src/ophyd_async/sim/demo/sim_motor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
from typing import Callable, List, Optional

from bluesky.protocols import Movable, Stoppable
from ophyd_async.core import StandardReadable, set_sim_value

from ophyd_async.core import StandardReadable
from ophyd_async.core.async_status import AsyncStatus
from ophyd_async.core.signal import soft_signal_r_and_backend, soft_signal_rw

Expand Down
1 change: 1 addition & 0 deletions tests/epics/motion/test_motor.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import pytest
from bluesky.protocols import Reading

from ophyd_async.core import DeviceCollector, set_sim_put_proceeds, set_sim_value
from ophyd_async.epics.motion import motor

Expand Down
1 change: 1 addition & 0 deletions tests/sim/demo/test_sim_motor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from bluesky.plans import spiral_square
from bluesky.run_engine import RunEngine

from ophyd_async.core.device import DeviceCollector
from ophyd_async.sim.demo.sim_motor import SimMotor

Expand Down

0 comments on commit 8ab9f57

Please sign in to comment.