Skip to content

Commit 76fd89a

Browse files
committed
Use the new module name in tests etc
1 parent 5f84a90 commit 76fd89a

29 files changed

Lines changed: 52 additions & 56 deletions

aclimatise/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from aclimatise.model import Command, Flag
1818
from aclimatise.usage_parser.parser import UsageParser
1919

20-
logger = logging.getLogger("acclimatise")
20+
logger = logging.getLogger("aclimatise")
2121

2222
default_executor = LocalExecutor()
2323

aclimatise/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Code relating to the command line interface to acclimatise
2+
Code relating to the command line interface to aCLImatise
33
"""
44
import sys
55
from pathlib import Path

aclimatise/converter/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def choose_variable_names(
117117
"""
118118
Choose names for a list of flags. This needs to be done in one go because there is a risk of duplicate
119119
variable names otherwise
120-
:param length: See :py:func:`acclimatise.name_generation.generate_name`
120+
:param length: See :py:func:`from aclimatise.name_generation.generate_name`
121121
"""
122122
options = list(
123123
zip_longest(

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"dataclasses",
2323
],
2424
python_requires=">=3.6",
25-
entry_points={"console_scripts": ["acclimatise = acclimatise.cli:main"]},
25+
entry_points={"console_scripts": ["aclimatise = aclimatise.cli:main"]},
2626
extras_require={
2727
"dev": [
2828
"pytest",

test/conftest.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
import pytest
44
from pkg_resources import resource_filename
55

6-
from acclimatise.converter.yml import YmlGenerator
7-
from acclimatise.execution.local import LocalExecutor
8-
from acclimatise.flag_parser.parser import CliParser
9-
from acclimatise.usage_parser.parser import UsageParser
10-
from acclimatise.yaml import yaml
6+
from aclimatise.converter.yml import YmlGenerator
7+
from aclimatise.execution.local import LocalExecutor
8+
from aclimatise.flag_parser.parser import CliParser
9+
from aclimatise.usage_parser.parser import UsageParser
10+
from aclimatise.yaml import yaml
1111

1212

1313
@pytest.fixture()

test/executors/test_docker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import docker
22
import pytest
33

4-
from acclimatise.execution.docker import DockerExecutor
4+
from aclimatise.execution.docker import DockerExecutor
55

66

77
def test_docker(bwamem_help):

test/executors/test_local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from acclimatise.execution.local import LocalExecutor
1+
from aclimatise.execution.local import LocalExecutor
22

33
from ..util import skip_not_installed
44

test/flags/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pytest
22

3-
from acclimatise.flag_parser.parser import CliParser
3+
from aclimatise.flag_parser.parser import CliParser
44

55

66
@pytest.fixture

test/flags/test_bwa.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
import pytest
55

6-
from acclimatise import parse_help
7-
from acclimatise.flag_parser import elements
8-
from acclimatise.model import Flag, FlagSynonym, OptionalFlagArg
6+
from aclimatise import parse_help
7+
from aclimatise.flag_parser import elements
8+
from aclimatise.model import Flag, FlagSynonym, OptionalFlagArg
99

1010

1111
def test_flag_arg(parser):

test/flags/test_gth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from acclimatise.model import Flag
1+
from aclimatise.model import Flag
22

33

44
def test_unindented_flags(parser):

0 commit comments

Comments
 (0)