Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files

- repo: https://github.com/psf/black
rev: 24.10.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.12.0
hooks:
- id: black
args: [--safe, --line-length=100, --preview]
Expand All @@ -22,14 +22,14 @@ repos:
language_version: python3

- repo: https://github.com/pycqa/docformatter
rev: v1.7.6
rev: v1.7.7
hooks:
- id: docformatter
additional_dependencies: [tomli]
args: [--config, pyproject.toml]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.2
rev: v1.19.1
hooks:
- id: mypy
additional_dependencies: [
Expand All @@ -38,7 +38,7 @@ repos:
]

- repo: https://github.com/pycqa/flake8
rev: 7.1.1
rev: 7.3.0
hooks:
- id: flake8

Expand Down
1 change: 0 additions & 1 deletion outsource/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
SALTAX,
)


LOWER_DISK = uconfig.getint("Outsource", "lower_disk", fallback=None)
LOWER_MEMORY = uconfig.getint("Outsource", "lower_memory", fallback=None)
COMBINE_DISK = uconfig.getint("Outsource", "combine_disk", fallback=None)
Expand Down
1 change: 0 additions & 1 deletion outsource/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from utilix import uconfig
import straxen


NO_PER_CHUNK = uconfig.getboolean("Outsource", "no_per_chunk", fallback=False)


Expand Down
1 change: 0 additions & 1 deletion outsource/scripts/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

from outsource.utils import get_context, get_runlist, SALTAX


logger = setup_logger("outsource", uconfig.get("Outsource", "logging_level", fallback="WARNING"))
coll = xent_collection()

Expand Down
1 change: 0 additions & 1 deletion outsource/submitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from outsource.config import RunConfig
from outsource.utils import get_to_save_data_types


IMAGE_PREFIX = "/cvmfs/singularity.opensciencegrid.org/xenonnt/base-environment:"


Expand Down
1 change: 0 additions & 1 deletion outsource/submitters/htcondor.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
from outsource.meta import DETECTOR_DATA_TYPES
from outsource.utils import get_resources_retry


base_dir = os.path.dirname(os.path.abspath(os.path.dirname(__file__)))


Expand Down
1 change: 0 additions & 1 deletion outsource/submitters/slurm.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from outsource.utils import get_context, get_chunk_number
from outsource.submitter import Submitter


base_dir = os.path.dirname(os.path.abspath(os.path.dirname(__file__)))


Expand Down
1 change: 0 additions & 1 deletion outsource/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

from outsource.utils import get_rse


logger = setup_logger("outsource", uconfig.get("Outsource", "logging_level", fallback="WARNING"))
admix.clients._init_clients()
db = DB()
Expand Down
1 change: 0 additions & 1 deletion outsource/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

from outsource.meta import get_clean_detector_data_types, get_clean_per_chunk_data_types


logger = setup_logger("outsource", uconfig.get("Outsource", "logging_level", fallback="WARNING"))
coll = xent_collection()

Expand Down
1 change: 0 additions & 1 deletion outsource/workflow/combine.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from outsource.utils import get_context, per_chunk_storage_root_data_type, SALTAX
from outsource.upload import upload_to_rucio


logger = setup_logger("outsource", uconfig.get("Outsource", "logging_level", fallback="WARNING"))
admix.clients._init_clients()

Expand Down
1 change: 0 additions & 1 deletion outsource/workflow/test_resource_usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from outsource.workflow.combine import main as combine_main
from outsource.workflow.combine import merge


logger = setup_logger("outsource", uconfig.get("Outsource", "logging_level", fallback="WARNING"))

parser = argparse.ArgumentParser()
Expand Down