Skip to content

Commit

Permalink
more cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
funilrys committed Oct 27, 2024
1 parent 5562040 commit f938159
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
2 changes: 0 additions & 2 deletions domain2idna/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@

from .converter import Converter

VERSION = "1.12.1"


def domain2idna(subject, encoding="utf-8"):
"""
Expand Down
4 changes: 2 additions & 2 deletions domain2idna/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
from colorama import Fore, Style
from colorama import init as initiate_colorama

from . import VERSION
from .__about__ import __version__
from .converter import Converter
from .helpers import File

Expand Down Expand Up @@ -169,7 +169,7 @@ def tool(): # pragma: no cover
)

parser.add_argument(
"-v", "--version", action="version", version="%(prog)s " + VERSION
"-v", "--version", action="version", version="%(prog)s " + __version__
)

args = parser.parse_args()
Expand Down
12 changes: 0 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,11 @@
"""

import os
from re import compile as comp
import re
from unittest import TestLoader

from setuptools import setup


def test_suite():
"""
This method will discover and run all the test
"""

test_loader = TestLoader()
tests = test_loader.discover("tests", pattern="test_*.py")
return tests


def get_requirements(*, mode="standard"):
"""
This function extract all requirements from requirements.txt.
Expand Down

0 comments on commit f938159

Please sign in to comment.