Skip to content

Commit

Permalink
Remove click imports
Browse files Browse the repository at this point in the history
  • Loading branch information
sdruskat committed Nov 15, 2023
1 parent aa0b13c commit 481a507
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 14 deletions.
2 changes: 0 additions & 2 deletions src/hermes/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
import pathlib
from importlib import metadata

import click

from hermes import config
from hermes.commands import workflow
from hermes.config import configure, init_logging
Expand Down
2 changes: 0 additions & 2 deletions src/hermes/commands/deposit/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

import json

import click

from hermes import config
from hermes.model.context import CodeMetaContext
from hermes.model.path import ContextPath
Expand Down
1 change: 0 additions & 1 deletion src/hermes/commands/deposit/invenio.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from pathlib import Path
from urllib.parse import urlparse

import click
import requests

from hermes import config
Expand Down
1 change: 0 additions & 1 deletion src/hermes/commands/deposit/invenio_rdm.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from pathlib import Path
from urllib.parse import urlparse

import click
import requests

from hermes import config
Expand Down
1 change: 0 additions & 1 deletion src/hermes/commands/harvest/cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

from ruamel.yaml import YAML
import jsonschema
import click
from cffconvert import Citation

from hermes.model.context import HermesHarvestContext, ContextPath
Expand Down
2 changes: 0 additions & 2 deletions src/hermes/commands/harvest/codemeta.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
import pathlib
import typing as t

import click

from hermes.commands.harvest import util
from hermes.commands.harvest.util.validate_codemeta import validate_codemeta
from hermes.model.context import HermesHarvestContext
Expand Down
1 change: 0 additions & 1 deletion src/hermes/commands/harvest/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import pathlib
import typing as t

import click
import subprocess
import shutil

Expand Down
2 changes: 0 additions & 2 deletions src/hermes/commands/harvest/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

from pathlib import Path

import click


def get_project_path(click_ctx: click.Context) -> Path:
"""Returns the 'path' parameter of the passed click.Context's parent context.
Expand Down
2 changes: 0 additions & 2 deletions src/hermes/commands/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
import shutil
from importlib import metadata

import click

from hermes import config
from hermes.error import MisconfigurationError
from hermes.model.context import HermesContext, HermesHarvestContext, CodeMetaContext
Expand Down

0 comments on commit 481a507

Please sign in to comment.