From 334028c41f0bb5ef560f687eb868328f1be4ea31 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sun, 9 Aug 2020 11:07:41 +0200 Subject: [PATCH] Fix import path --- {hyperspace-rpc => hyperspace_rpc}/__init__.py | 0 {hyperspace-rpc => hyperspace_rpc}/hrpc.proto | 0 {hyperspace-rpc => hyperspace_rpc}/schema.proto | 0 {hyperspace-rpc => hyperspace_rpc}/schema_grpc.py | 0 {hyperspace-rpc => hyperspace_rpc}/schema_pb2.py | 0 pyproject.toml | 10 +++++----- 6 files changed, 5 insertions(+), 5 deletions(-) rename {hyperspace-rpc => hyperspace_rpc}/__init__.py (100%) rename {hyperspace-rpc => hyperspace_rpc}/hrpc.proto (100%) rename {hyperspace-rpc => hyperspace_rpc}/schema.proto (100%) rename {hyperspace-rpc => hyperspace_rpc}/schema_grpc.py (100%) rename {hyperspace-rpc => hyperspace_rpc}/schema_pb2.py (100%) diff --git a/hyperspace-rpc/__init__.py b/hyperspace_rpc/__init__.py similarity index 100% rename from hyperspace-rpc/__init__.py rename to hyperspace_rpc/__init__.py diff --git a/hyperspace-rpc/hrpc.proto b/hyperspace_rpc/hrpc.proto similarity index 100% rename from hyperspace-rpc/hrpc.proto rename to hyperspace_rpc/hrpc.proto diff --git a/hyperspace-rpc/schema.proto b/hyperspace_rpc/schema.proto similarity index 100% rename from hyperspace-rpc/schema.proto rename to hyperspace_rpc/schema.proto diff --git a/hyperspace-rpc/schema_grpc.py b/hyperspace_rpc/schema_grpc.py similarity index 100% rename from hyperspace-rpc/schema_grpc.py rename to hyperspace_rpc/schema_grpc.py diff --git a/hyperspace-rpc/schema_pb2.py b/hyperspace_rpc/schema_pb2.py similarity index 100% rename from hyperspace-rpc/schema_pb2.py rename to hyperspace_rpc/schema_pb2.py diff --git a/pyproject.toml b/pyproject.toml index e76b785..1e2a34f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ include = '\.pyi?$' [tool.isort] include_trailing_comma = true -known_first_party = "hyperspace-rpc" +known_first_party = "hyperspace_rpc" line_length = 80 multi_line_output = 3 skip = ".tox" @@ -51,20 +51,20 @@ isolated_build = True [testenv:lint] skipdist = True deps = flake8 -commands = flake8 {posargs:--max-line-length 80} hyperspace-rpc/ +commands = flake8 {posargs:--max-line-length 80} hyperspace_rpc/ [testenv:sort] skipdist = True deps = isort -commands = isort {posargs:-c} hyperspace-rpc/ +commands = isort {posargs:-c} hyperspace_rpc/ [testenv:format] skipdist = True deps = black -commands = black {posargs:--check} hyperspace-rpc/ +commands = black {posargs:--check} hyperspace_rpc/ [testenv:type] skipdist = True deps = mypy -commands = mypy {posargs:--ignore-missing-imports} hyperspace-rpc/ +commands = mypy {posargs:--ignore-missing-imports} hyperspace_rpc/ """