ci: add more linting steps
CI / lint (push) Skipped
CI / test (3.11) (push) Skipped
CI / test (3.12) (push) Skipped
CI / test (3.13) (push) Skipped
CI / lint (pull_request) Failing after 28s
CI / test (3.11) (pull_request) Skipped
CI / test (3.12) (pull_request) Skipped
CI / test (3.13) (pull_request) Skipped
CI / lint (push) Skipped
CI / test (3.11) (push) Skipped
CI / test (3.12) (push) Skipped
CI / test (3.13) (push) Skipped
CI / lint (pull_request) Failing after 28s
CI / test (3.11) (pull_request) Skipped
CI / test (3.12) (pull_request) Skipped
CI / test (3.13) (pull_request) Skipped
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import numpy as np
|
||||
|
||||
from aarecommon.math.autofocus import focus_measure_blob_size, focus_measure_edges
|
||||
|
||||
|
||||
|
||||
@@ -8,10 +8,9 @@ from aarecommon.models.beamline import MXBeamline
|
||||
|
||||
|
||||
def test_mx_beamline_default():
|
||||
with patch.dict(os.environ, {}, clear=True):
|
||||
with pytest.raises(ValueError) as e:
|
||||
# If BEAMLINE is not set, it should raise
|
||||
mx_beamline()
|
||||
with patch.dict(os.environ, {}, clear=True), pytest.raises(ValueError) as e:
|
||||
# If BEAMLINE is not set, it should raise
|
||||
mx_beamline()
|
||||
assert e.match("set the BEAMLINE")
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import numpy as np
|
||||
import pytest
|
||||
|
||||
from aarecommon.math.coordinate import (
|
||||
AerotechCoordinate,
|
||||
Coordinate,
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import pytest
|
||||
from aarecommon.models.models import DataCollectionParameters
|
||||
from pydantic import ValidationError
|
||||
|
||||
from aarecommon.models.models import DataCollectionParameters
|
||||
|
||||
|
||||
def test_directory_defaults_when_missing():
|
||||
params = DataCollectionParameters()
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import pytest
|
||||
|
||||
from aarecommon.math.diffraction_geometry import DiffractionGeometry
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import pytest
|
||||
|
||||
from aarecommon.errors.exception_handler import (
|
||||
AareDBCommunicationError,
|
||||
AerotechCommunicationError,
|
||||
|
||||
@@ -2,6 +2,7 @@ from unittest.mock import MagicMock
|
||||
|
||||
import numpy as np
|
||||
import pytest
|
||||
|
||||
from aarecommon.math.find_xtal import (
|
||||
compute_crystal_score_array,
|
||||
create_quality_filtered_array,
|
||||
|
||||
@@ -3,6 +3,7 @@ import time
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
import pytest
|
||||
|
||||
from aarecommon.config.logger_events import log_timing, merge_log_context
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import pytest
|
||||
|
||||
from aarecommon.math.raster_grid import grid_to_image_id, image_id_to_grid
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import pytest
|
||||
|
||||
from aarecommon.models.models import SampleCameraSettings, ZoomModel
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user