From cb54bd1b0a5baf15fb6c82e641c4982a7a34d2ae Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 8 Jan 2020 22:38:40 +0000 Subject: [PATCH] Rename package so it has a valid name --- Dockerfile | 2 +- scripts/run.sh | 2 +- scripts/test.sh | 8 ++++---- {todoist-github => todoist_github}/__init__.py | 0 {todoist-github => todoist_github}/__main__.py | 0 {todoist-github => todoist_github}/cli.py | 0 {todoist-github => todoist_github}/clients.py | 0 {todoist-github => todoist_github}/utils.py | 0 8 files changed, 6 insertions(+), 6 deletions(-) rename {todoist-github => todoist_github}/__init__.py (100%) rename {todoist-github => todoist_github}/__main__.py (100%) rename {todoist-github => todoist_github}/cli.py (100%) rename {todoist-github => todoist_github}/clients.py (100%) rename {todoist-github => todoist_github}/utils.py (100%) diff --git a/Dockerfile b/Dockerfile index 2309c9b..7692f0c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,6 @@ FROM python:3.8.1-alpine3.11 COPY requirements.txt /app/requirements.txt RUN pip install -r /app/requirements.txt -COPY ./todoist-github /app +COPY ./todoist_github /app CMD ["/app/cli.py"] diff --git a/scripts/run.sh b/scripts/run.sh index 5accbd0..3695c64 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -4,4 +4,4 @@ set -e PATH=env/bin:${PATH} -python3 -m todoist-github +python3 -m todoist_github diff --git a/scripts/test.sh b/scripts/test.sh index 272f484..dea676c 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -6,7 +6,7 @@ PATH=env/bin:${PATH} set -x -black --check todoist-github/ -flake8 todoist-github/ -isort -c -rc todoist-github/ -mypy todoist-github/ +black --check todoist_github/ +flake8 todoist_github/ +isort -c -rc todoist_github/ +mypy todoist_github/ diff --git a/todoist-github/__init__.py b/todoist_github/__init__.py similarity index 100% rename from todoist-github/__init__.py rename to todoist_github/__init__.py diff --git a/todoist-github/__main__.py b/todoist_github/__main__.py similarity index 100% rename from todoist-github/__main__.py rename to todoist_github/__main__.py diff --git a/todoist-github/cli.py b/todoist_github/cli.py similarity index 100% rename from todoist-github/cli.py rename to todoist_github/cli.py diff --git a/todoist-github/clients.py b/todoist_github/clients.py similarity index 100% rename from todoist-github/clients.py rename to todoist_github/clients.py diff --git a/todoist-github/utils.py b/todoist_github/utils.py similarity index 100% rename from todoist-github/utils.py rename to todoist_github/utils.py