From 19c12a95172cb4c9c8379883e67de38cf2611dfb Mon Sep 17 00:00:00 2001 From: tmaeno Date: Thu, 11 Jan 2024 16:12:37 +0100 Subject: [PATCH] changes for pyproject.toml --- .pre-commit-config.yaml | 2 ++ pyproject.toml => package/pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) rename pyproject.toml => package/pyproject.toml (96%) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5f65fdf..5ac179e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,9 +5,11 @@ repos: hooks: - id: black types: [python] + args: ["--config", "package/pyproject.toml"] - repo: https://github.com/pycqa/isort rev: 5.12.0 hooks: - id: isort name: isort (python) + args: ["--settings-path", "package/pyproject.toml"] diff --git a/pyproject.toml b/package/pyproject.toml similarity index 96% rename from pyproject.toml rename to package/pyproject.toml index 8417ed8..a307c54 100644 --- a/pyproject.toml +++ b/package/pyproject.toml @@ -7,8 +7,8 @@ build-backend = "hatchling.build" name = "panda-common" dynamic = ["version"] description = " PanDA Common Package" -readme = "README.txt" -license = "Apache-2.0" +readme = "README.md" +license = {text = "Apache-2.0"} authors = [ { name = "PanDA Team", email = "panda-support@cern.ch" }, ]