Skip to content

Commit

Permalink
build(deps-dev): bump ruff from 0.5.6 to 0.6.3 (#23)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alastair Crabtree <[email protected]>
  • Loading branch information
dependabot[bot] and alastairtree authored Sep 2, 2024
1 parent 1163a78 commit 17e30d2
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ repos:
- id: remove-crlf
- id: remove-tabs
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: "0.29.1"
rev: "0.29.2"
hooks:
- id: check-github-workflows
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.6
rev: v0.6.3
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
40 changes: 20 additions & 20 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pytest = "^8.3.1"
pytest-cov = "^5.0.0"
pyinstaller = "^6.5.0"
pre-commit = "^3.8.0"
ruff = "^0.5.4"
ruff = "^0.6.3"
docker = "^7.1.0"
testcontainers = "^4.7.2"
wiremock = {git = "https://github.com/ImperialCollegeLondon/python-wiremock.git", rev = "fix-test-containers-on-windows"}
Expand Down
3 changes: 2 additions & 1 deletion src/imap_db/migrations/env.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
from logging.config import fileConfig

from alembic import context
from imap_db.model import Base
from sqlalchemy import engine_from_config, pool

from imap_db.model import Base

# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.
config = context.config
Expand Down
3 changes: 2 additions & 1 deletion src/imap_mag/DB.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import os

from imap_db.model import File
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker

from imap_db.model import File


class DB:
def __init__(self, db_url=None):
Expand Down
1 change: 1 addition & 0 deletions src/imap_mag/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

# config
import yaml

from imap_db.model import File
from mag_toolkit import CDFLoader
from mag_toolkit.calibration.CalibrationApplicator import CalibrationApplicator
Expand Down
3 changes: 2 additions & 1 deletion tests/testUtils.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import os
from pathlib import Path, PosixPath, WindowsPath

import imap_mag.appConfig as appConfig
import yaml

import imap_mag.appConfig as appConfig


def create_serialize_config(
*,
Expand Down
3 changes: 2 additions & 1 deletion tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
from pathlib import Path

import pytest
from imap_mag.main import app
from typer.testing import CliRunner

from imap_mag.main import app

from .testUtils import create_serialize_config
from .wiremockUtils import wiremock_manager # noqa: F401

Expand Down

0 comments on commit 17e30d2

Please sign in to comment.