-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
99 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,34 @@ | ||
#pylint: skip-file | ||
# ruff: noqa: I001, PLC0414 | ||
|
||
# Utilities | ||
from ._utils import ( | ||
config_exists, | ||
get_abs_path, | ||
get_config, | ||
get_config_plugins, | ||
get_python_program, | ||
get_rel_path, | ||
run_script, | ||
is_frozen, | ||
config_exists as config_exists, | ||
get_abs_path as get_abs_path, | ||
get_config as get_config, | ||
get_config_plugins as get_config_plugins, | ||
get_python_program as get_python_program, | ||
get_rel_path as get_rel_path, | ||
is_frozen as is_frozen, | ||
run_script as run_script, | ||
) | ||
|
||
# Core functions | ||
from ._build import build as build | ||
from ._core import ( | ||
create_project, | ||
run, | ||
dist, | ||
clean, | ||
clean as clean, | ||
create_project as create_project, | ||
dist as dist, | ||
run as run, | ||
) | ||
from ._build import build | ||
|
||
# Exceptions | ||
from .exceptions import * | ||
from .exceptions import ( | ||
BuildError as BuildError, | ||
ConfigError as ConfigError, | ||
FrozenEnvironmentError as FrozenEnvironmentError, | ||
NoConfigError as NoConfigError, | ||
PManError as PManError, | ||
) | ||
|
||
# Version | ||
from .version import __version__ | ||
from .version import __version__ as __version__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
class PManException(Exception): | ||
class PManError(Exception): | ||
pass | ||
|
||
|
||
class NoConfigError(PManException): | ||
class NoConfigError(PManError): | ||
pass | ||
|
||
|
||
class ConfigError(PManException): | ||
class ConfigError(PManError): | ||
pass | ||
|
||
|
||
class CouldNotFindPythonError(PManException): | ||
class CouldNotFindPythonError(PManError): | ||
pass | ||
|
||
|
||
class BuildError(PManException): | ||
class BuildError(PManError): | ||
pass | ||
|
||
|
||
class FrozenEnvironmentError(PManException): | ||
class FrozenEnvironmentError(PManError): | ||
def __init__(self): | ||
super().__init__("Operation not supported in frozen applications") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import typing | ||
|
||
from dataclasses import dataclass, field | ||
|
||
|
||
@dataclass(frozen=True) | ||
class ConverterInfo: | ||
name: str | ||
|
Oops, something went wrong.