diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e302cb43..9a995bd5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,11 +24,11 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.11.1 + rev: v2.12.1 hooks: - id: pyproject-fmt - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.24.1 + rev: v0.25 hooks: - id: validate-pyproject - repo: https://github.com/sphinx-contrib/sphinx-lint @@ -44,7 +44,7 @@ repos: entry: isort --profile=black name: isort (python) - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.12.0 + rev: 26.1.0 hooks: - id: black - repo: https://github.com/tonybaloney/perflint diff --git a/docs/conf.py b/docs/conf.py index 504f0942..14cb00bb 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,7 +18,6 @@ import os import re - # Set canonical URL for the sitemap html_baseurl = "https://python4data.science/de/latest/" @@ -33,7 +32,6 @@ import os import re - project = "Python für Data Science" author = "Veit Schiele" copyright = f"2019–2025, {author}" diff --git a/docs/data-processing/apis/grpc/accounts_pb2.py b/docs/data-processing/apis/grpc/accounts_pb2.py index fbe1589d..bf7c2ec9 100644 --- a/docs/data-processing/apis/grpc/accounts_pb2.py +++ b/docs/data-processing/apis/grpc/accounts_pb2.py @@ -6,12 +6,12 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: accounts.proto """Generated protocol buffer code.""" + from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() diff --git a/docs/data-processing/apis/grpc/accounts_pb2_grpc.py b/docs/data-processing/apis/grpc/accounts_pb2_grpc.py index c6c2f83d..b3787a52 100644 --- a/docs/data-processing/apis/grpc/accounts_pb2_grpc.py +++ b/docs/data-processing/apis/grpc/accounts_pb2_grpc.py @@ -4,6 +4,7 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" + import accounts_pb2 as accounts__pb2 import grpc diff --git a/docs/productive/git/advanced/exceltocsv.py b/docs/productive/git/advanced/exceltocsv.py index a6235830..1972f47b 100644 --- a/docs/productive/git/advanced/exceltocsv.py +++ b/docs/productive/git/advanced/exceltocsv.py @@ -8,7 +8,6 @@ import pandas as pd - for sheet_name in pd.ExcelFile(sys.argv[1]).sheet_names: output = StringIO() print("Sheet: %s" % sheet_name) diff --git a/fastapi/main.py b/fastapi/main.py index b2e7e624..7aa41f3d 100644 --- a/fastapi/main.py +++ b/fastapi/main.py @@ -8,7 +8,6 @@ from fastapi import FastAPI - app = FastAPI()