From faa3c3e6634fd1c3a37f4da188c25fb29d61f6f4 Mon Sep 17 00:00:00 2001 From: Wolfgang Fahl Date: Thu, 11 Apr 2024 13:50:03 +0200 Subject: [PATCH] adds blackisort and deprecates python 3.8 --- pyproject.toml | 8 ++++---- scripts/blackisort | 7 +++++++ 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100755 scripts/blackisort diff --git a/pyproject.toml b/pyproject.toml index aae0a3b..90296d0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,9 +17,9 @@ readme = "README.md" license = {text = "Apache-2.0"} dependencies = [ # https://github.com/WolfgangFahl/nicegui_widgets - "ngwidgets>=0.3.3", + "ngwidgets>=0.14.2", # https://pypi.org/project/pylodstorage/ - "pyLodStorage>=0.4.10", + "pyLodStorage>=0.10.3", # https://pypi.org/project/SQLAlchemy/ "SQLAlchemy>=2.0.22", # https://pypi.org/project/SQLAlchemy-Utils/ @@ -37,15 +37,15 @@ dependencies = [ 'rdflib>=7.0.0' ] -requires-python = ">=3.8" +requires-python = ">=3.9" classifiers=[ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Operating System :: OS Independent", "Topic :: Software Development :: User Interfaces", "Intended Audience :: Developers", diff --git a/scripts/blackisort b/scripts/blackisort new file mode 100755 index 0000000..5e7f8dd --- /dev/null +++ b/scripts/blackisort @@ -0,0 +1,7 @@ +#!/bin/bash +# WF 2024-01-10 +package=frontend +isort tests/*.py +black tests/*.py +isort $package/*.py +black $package/*.py