mirror of
https://github.com/enpaul/tox-poetry-installer.git
synced 2024-10-29 19:47:00 +00:00
Ethan Paul
7f0aeaf539
Remove custom package compatibility checks Add checks using poetry's built in package compatibility checking using markers Update venv integration to use poetry's venv processing tools Remove unused constants
20 lines
675 B
Python
20 lines
675 B
Python
"""Static constants for reference
|
|
|
|
Rule of thumb: if it's an arbitrary value that will never be changed at runtime, it should go
|
|
in this module.
|
|
|
|
All constants should be type hinted.
|
|
"""
|
|
from typing import Tuple
|
|
|
|
from tox_poetry_installer import __about__
|
|
|
|
|
|
# Valid PEP508 version delimiters. These are used to test whether a given string (specifically a
|
|
# dependency name) is just a package name or also includes a version identifier.
|
|
PEP508_VERSION_DELIMITERS: Tuple[str, ...] = ("~=", "==", "!=", ">", "<")
|
|
|
|
# Prefix all reporter messages should include to indicate that they came from this module in the
|
|
# console output.
|
|
REPORTER_PREFIX: str = f"{__about__.__title__}:"
|