Skip to content

Commit

Permalink
Merge branch 'main' into update-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhekhorn committed Jan 30, 2024
2 parents b6640bd + 4b3c608 commit fe4c077
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
- id: pycln
args: [--config=pyproject.toml]
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
- repo: https://github.com/asottile/blacken-docs
Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"""Provide CLI."""

from . import configs, info, install, list, merge, run, update
from ._base import command
1 change: 1 addition & 0 deletions src/pinefarm/cli/_base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Set up CLI."""

import pathlib
import warnings

Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/cli/configs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Print loaded configurations."""

import rich

from .. import configs
Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/cli/info.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Inspect runcards."""

import pathlib

import click
Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/cli/install.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Install utilities."""

import click

from .. import install
Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/cli/list.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""List available resources."""

import rich
import rich.markdown

Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/cli/merge.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Merge multiple PineAPPL grids into a single one."""

import itertools
import pathlib
import re
Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/cli/run.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Compute a dataset and compare using a given PDF."""

import pathlib
import time

Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/cli/update.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Update datasets metadata."""

import pathlib
import shutil

Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/configs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Configuration tools."""

import copy
import os
import pathlib
Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/external/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
"""Provided interfaces."""

from . import mg5, vrap, yad
1 change: 1 addition & 0 deletions src/pinefarm/external/integrability.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Integrability interface."""

import dataclasses
import json
import typing
Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/external/interface.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Abstract interface."""

import abc
import base64
import os
Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/external/mg5/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Madgraph interface."""

import json
import re
import subprocess
Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/external/mg5/paths.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define additional local paths."""

import pathlib

subpkg = pathlib.Path(__file__).absolute().parent
Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/external/positivity.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Positivity interface."""

import json

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/external/vrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
ex: if the kinematic file is call "906_bin0.dat" the corresponding cfactors
are "ACC_906_bin0.dat" and "QCD_906_bin0.dat"
"""

import subprocess as sp
import tempfile
import warnings
Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/external/yad.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""yadism interface."""

from functools import reduce

import pandas as pd
Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/info.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Provide inspection tools."""

import dataclasses
import enum
import typing
Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/install.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Install tools."""

import os
import pathlib
import shutil
Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/log.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Logging tools."""

import pathlib
import subprocess as sp
import sys
Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/table.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Comparison tools."""

import inspect

import more_itertools
Expand Down
1 change: 1 addition & 0 deletions src/pinefarm/tools.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Auxilariy tools."""

import datetime
import itertools
import subprocess
Expand Down

0 comments on commit fe4c077

Please sign in to comment.