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" }, ]