Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
watermark,
)

from ansys.tools import __version__
from ansys.tools.common import __version__

# Project information
project = "ansys-tools-common"
Expand Down Expand Up @@ -61,7 +61,7 @@
],
"ansys_sphinx_theme_autoapi": {
"project": project,
"package_depth": 2,
"package_depth": 3,
},
"static_search": {
"threshold": 0.5,
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Documentation = "https://ansys.tools.docs.pyansys.com/"
Releases = "https://github.com/ansys/ansys-tools-common/releases/"

[tool.flit.module]
name = "ansys.tools"
name = "ansys.tools.common"

[tool.ruff]
line-length = 120
Expand Down Expand Up @@ -97,7 +97,7 @@ known-first-party = ["ansys"]
convention = "numpy"

[tool.towncrier]
package = "ansys.tools"
package = "ansys.tools.common"
directory = "doc/changelog.d"
filename = "CHANGELOG.md"
start_string = "<!-- towncrier release notes start -->\n"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

from typing import Iterable, Optional, Union

from ansys.tools.exceptions import VersionError, VersionSyntaxError
from ansys.tools.common.exceptions import VersionError, VersionSyntaxError


def sanitize_version_string(version_string):
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

import pytest

from ansys.tools.versioning import requires_version
from ansys.tools.common.versioning import requires_version

version_map = {
(0, 2, 1): "20XYRZ",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_example_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

import pytest

from ansys.tools.example_download import download_manager
from ansys.tools.common.example_download import download_manager


def test_download():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

"""Module for exception testing."""

from ansys.tools.exceptions import AnsysError, AnsysLogicError, AnsysTypeError, VersionError, VersionSyntaxError
from ansys.tools.common.exceptions import AnsysError, AnsysLogicError, AnsysTypeError, VersionError, VersionSyntaxError


def test_ansys_error():
Expand Down
4 changes: 2 additions & 2 deletions tests/test_versioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
import hypothesis.strategies as st
import pytest

from ansys.tools.exceptions import VersionError, VersionSyntaxError
from ansys.tools.versioning import (
from ansys.tools.common.exceptions import VersionError, VersionSyntaxError
from ansys.tools.common.versioning import (
SemanticVersion,
VersionNumber,
sanitize_version_string,
Expand Down