diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3a50c70..cbd2dc6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -46,7 +46,7 @@ repos: - id: mypy # empty args needed in order to match mypy cli behavior args: [] - entry: mypy gri/ + entry: mypy lib/ pass_filenames: false additional_dependencies: - click-help-colors diff --git a/gri/__init__.py b/lib/gri/__init__.py similarity index 100% rename from gri/__init__.py rename to lib/gri/__init__.py diff --git a/gri/__main__.py b/lib/gri/__main__.py similarity index 100% rename from gri/__main__.py rename to lib/gri/__main__.py diff --git a/gri/console.py b/lib/gri/console.py similarity index 100% rename from gri/console.py rename to lib/gri/console.py diff --git a/gri/gerrit.py b/lib/gri/gerrit.py similarity index 100% rename from gri/gerrit.py rename to lib/gri/gerrit.py diff --git a/gri/review.py b/lib/gri/review.py similarity index 100% rename from gri/review.py rename to lib/gri/review.py diff --git a/setup.cfg b/setup.cfg index d0c6603..7da229e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -36,6 +36,8 @@ classifiers = [options] use_scm_version = True python_requires = >=3.6 +package_dir = + = lib packages = find: include_package_data = True zip_safe = False @@ -47,7 +49,7 @@ install_requires = rich>=6.2.0 [options.packages.find] -where = . +where = lib [options.entry_points] console_scripts =