Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/ci-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ jobs:
strategy:
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
uses: greenbone/workflows/.github/workflows/lint-python.yml@main
with:
lint-packages: "greenbone tests"
Expand All @@ -27,10 +28,11 @@ jobs:
strategy:
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
uses: greenbone/workflows/.github/workflows/test-python.yml@main
with:
python-version: ${{ matrix.python-version }}
Expand Down
3 changes: 2 additions & 1 deletion greenbone/feed/sync/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
#

import sys
from argparse import ArgumentParser, Namespace
from pathlib import Path
from typing import Any, Optional, Sequence
Expand Down Expand Up @@ -49,7 +50,7 @@ class CliParser:
"""

def __init__(self) -> None:
parser = ArgumentParser(add_help=False)
parser = ArgumentParser(prog=Path(sys.argv[0]).name, add_help=False)
shtab.add_argument_to(parser)
parser.add_argument(
"--version",
Expand Down
9 changes: 5 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", # pylint: disable=line-too-long
"Environment :: Console",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: OS Independent",
"Topic :: Utilities",
]
Expand All @@ -26,7 +27,7 @@ packages = [
]

[tool.poetry.dependencies]
python = "^3.9"
python = "^3.10"
rich = ">=13.2.0"
tomli = { version = ">=2.0.1", python = "<3.11" }
shtab = ">=1.6.5"
Expand All @@ -51,7 +52,7 @@ build-backend = "poetry.core.masonry.api"

[tool.black]
line-length = 80
target-version = ['py39', 'py310', 'py311', 'py312']
target-version = ['py310', 'py311', 'py312', 'py313', 'py314']
exclude = '''
/(
\.git
Expand Down Expand Up @@ -173,7 +174,7 @@ commit_parsers = [
{ message = "^[d|D]oc", group = "<!-- 5 -->:books: Documentation" },
{ message = "^[t|T]est", group = "<!-- 6 -->:white_check_mark: Testing" },
{ message = "^[c|C]hore", group = "<!-- 7 -->:wrench: Miscellaneous" },
{ message = "^[c|C]i", group = "<!-- 7 -->:wrench: Miscellaneous" },
{ message = "^[c|C]i", group = "<!-- 7 -->:wrench: Miscellaneous" },
{ message = "^[m|M]isc", group = "<!-- 7 -->:wrench: Miscellaneous" },
{ message = "^[d|D]eps", group = "<!-- 8 -->:ship: Dependencies" },
]
Expand Down
Loading