From aa653d9a9b6db397d5680041b13d044be3d8c90d Mon Sep 17 00:00:00 2001 From: Daniil Yarmalkevich Date: Wed, 20 May 2026 19:20:19 +0300 Subject: [PATCH] chore: align .ort.yml format with ai-dial-quickapps-backend Use broader major-version regex patterns instead of exact pinning so the resolutions survive routine dependency bumps, standardize license-name comments, add the missing dev scope exclude, and give idna a proper license attribution. --- .ort.yml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/.ort.yml b/.ort.yml index 9a1dfc1..d92a60d 100644 --- a/.ort.yml +++ b/.ort.yml @@ -1,6 +1,9 @@ --- excludes: scopes: + - pattern: "dev" + reason: "DEV_DEPENDENCY_OF" + comment: "Packages for development only." - pattern: "lint" reason: "DEV_DEPENDENCY_OF" comment: "Packages for static code analysis only." @@ -9,18 +12,18 @@ excludes: comment: "Packages for testing only." resolutions: rule_violations: - - message: ".*PyPI::setuptools:78\\.1\\.1.*" + - message: ".*PyPI::setuptools:78\\..*" reason: "CANT_FIX_EXCEPTION" - comment: "BSD 3-Clause New or Revised License: https://github.com/pypa/setuptools/blob/v78.1.1/LICENSE" - - message: ".*PyPI::httpcore:1\\.0\\.9.*" + comment: "BSD 3-Clause License: https://github.com/pypa/setuptools/blob/v78.1.1/LICENSE" + - message: ".*PyPI::httpcore:1\\..*" reason: "CANT_FIX_EXCEPTION" - comment: "BSD 3-Clause New or Revised License: https://github.com/encode/httpcore/blob/1.0.9/LICENSE.md" - - message: ".*PyPI::httpx:0\\.25\\.2.*" + comment: "BSD 3-Clause License: https://github.com/encode/httpcore/blob/master/LICENSE.md" + - message: ".*PyPI::httpx:0\\..*" reason: "CANT_FIX_EXCEPTION" - comment: "BSD 3-Clause New or Revised License: https://github.com/encode/httpx/blob/0.25.0/LICENSE.md" - - message: ".*PyPI::typing-extensions:4\\.15\\.0.*" + comment: "BSD 3-Clause License: https://github.com/encode/httpx/blob/master/LICENSE.md" + - message: ".*PyPI::typing-extensions:4\\..*" reason: "CANT_FIX_EXCEPTION" - comment: "Same License as CPython: https://github.com/python/typing_extensions/blob/4.15.0/LICENSE" - - message: ".*PyPI::idna.*" + comment: "Same as CPython: https://github.com/python/typing_extensions/blob/main/LICENSE" + - message: ".*PyPI::idna:3\\..*" reason: "CANT_FIX_EXCEPTION" - comment: "ORT cannot pick up license information" + comment: "BSD 3-Clause License: https://github.com/kjd/idna/blob/master/LICENSE.md"