diff --git a/portalocker/__about__.py b/portalocker/__about__.py index a31a87e..e734840 100644 --- a/portalocker/__about__.py +++ b/portalocker/__about__.py @@ -1,6 +1,6 @@ __package_name__ = 'portalocker' __author__ = 'Rick van Hattem' __email__ = 'wolph@wol.ph' -__version__ = '3.1.0' +__version__ = '3.1.1' __description__ = """Wraps the portalocker recipe for easy usage""" __url__ = 'https://github.com/WoLpH/portalocker' diff --git a/portalocker/__init__.py b/portalocker/__init__.py index 03c83d2..b461e9c 100644 --- a/portalocker/__init__.py +++ b/portalocker/__init__.py @@ -20,7 +20,7 @@ #: Current author's email address __email__ = __about__.__email__ #: Version number -__version__ = '3.1.0' +__version__ = '3.1.1' #: Package description for Pypi __description__ = __about__.__description__ #: Package homepage diff --git a/portalocker/__main__.py b/portalocker/__main__.py index d99ffcf..f31930a 100644 --- a/portalocker/__main__.py +++ b/portalocker/__main__.py @@ -124,7 +124,8 @@ def combine(args: argparse.Namespace) -> None: logger.info(f'Wrote combined file to {output_file.name}') # Run black and ruff if available. If not then just run the file. os.system(f'black {output_file.name}') - os.system(f'ruff --fix {output_file.name}') + os.system(f'ruff format {output_file.name}') + os.system(f'ruff check --fix --fix-only {output_file.name}') os.system(f'python3 {output_file.name}') diff --git a/pyproject.toml b/pyproject.toml index a4446e3..71a2808 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,8 +50,6 @@ classifiers = [ requires-python = '>=3.9' dependencies = [ 'pywin32>=226; platform_system == "Windows"', - 'tomli-w>=1.0.0', - 'tomlkit>=0.13.2', ] [project.urls]