diff --git a/setup.py b/setup.py index 147d7b6..22afe7c 100755 --- a/setup.py +++ b/setup.py @@ -18,6 +18,9 @@ packages=find_packages(), include_package_data=True, install_requires=["pyyaml"], + extras_requires={ + 'ruamel': ['ruamel.yaml'] + }, python_requires=">=3.8", entry_points={ "console_scripts": ["yamale=yamale.command_line:main"], @@ -34,5 +37,6 @@ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ], ) diff --git a/tox.ini b/tox.ini index fff02c0..27a416f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,10 @@ [tox] -envlist = py38, py310 +envlist = py38, py313 [gh-actions] python = 3.8: py38 - 3.12: py312 + 3.13: py313 [testenv] commands = py.test --cov yamale --cov-report term-missing yamale diff --git a/yamale/command_line.py b/yamale/command_line.py index d5cb929..251841d 100644 --- a/yamale/command_line.py +++ b/yamale/command_line.py @@ -110,7 +110,7 @@ def _router(paths, schema_name, cpus, parser, strict=True): def main(): parser = argparse.ArgumentParser(description="Validate yaml files.") parser.add_argument( - "paths", metavar="PATHS", default=["./"], nargs="*", help="Paths to validate, either directories or files. Default is the current directory." + "paths", metavar="PATH", default=["./"], nargs="*", help="Paths to validate, either directories or files. Default is the current directory." ) parser.add_argument("-V", "--version", action="version", version=__version__) parser.add_argument("-s", "--schema", default="schema.yaml", help="filename of schema. Default is schema.yaml.")