Skip to content

Commit

Permalink
Run pre-commit and hopefully fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
noemifrisina committed Dec 6, 2023
1 parent 43f26cb commit 846e0dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@
import os
import sys

sys.path.insert(0, os.path.abspath(".."))

import sphinx_rtd_theme # noqa; F401 - install theme

import nexgen

sys.path.insert(0, os.path.abspath(".."))


# -- General configuration ---------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
Expand Down
8 changes: 4 additions & 4 deletions src/nexgen/command_line/phil_files_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@
import logging
import shutil
import sys
from pathlib import Path

import freephil

from .. import log, templates
from . import config_parser, nexus_parser, version_parser

try:
from importlib.resources import files
except ImportError:
# Python < 3.9 compatibility
from importlib_resources import files

from pathlib import Path

from .. import log, templates
from . import config_parser, nexus_parser, version_parser

# Define a logger object
logger = logging.getLogger("nexgen.NeXusGenerator")
Expand Down

0 comments on commit 846e0dd

Please sign in to comment.