diff --git a/_typos.toml b/.github/typos.toml similarity index 54% rename from _typos.toml rename to .github/typos.toml index d0573dbcbe..626c8d9601 100644 --- a/_typos.toml +++ b/.github/typos.toml @@ -20,6 +20,33 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +[files] +extend-exclude = [ + "eo-runtime/src/main/java/EOorg/EOeolang/EOfs/EOfile$EOis_directory.java", + "eo-parser/src/test/resources/org/eolang/parser/benchmark/native.xmir" +] +# The MIT License (MIT) +# +# Copyright (c) 2016-2025 Objectionary.com +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + [default] extend-ignore-identifiers-re = [ "Olt*", # false positive diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml index 93f0c57d3e..aaf7d72039 100644 --- a/.github/workflows/typos.yml +++ b/.github/workflows/typos.yml @@ -36,4 +36,4 @@ jobs: - uses: actions/checkout@v4 - uses: crate-ci/typos@master with: - config: ./.github/.typos.toml + config: ./.github/typos.toml diff --git a/.github/.typos.toml b/.ort.yml similarity index 72% rename from .github/.typos.toml rename to .ort.yml index f282f8c719..5cdb1e6b95 100644 --- a/.github/.typos.toml +++ b/.ort.yml @@ -20,8 +20,15 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -[files] -extend-exclude = [ - "eo-runtime/src/main/java/EOorg/EOeolang/EOfs/EOfile$EOis_directory.java", - "eo-parser/src/test/resources/org/eolang/parser/benchmark/native.xmir" -] +# See https://oss-review-toolkit.org/ort/docs/configuration/ort-yml for file specification +--- +license_choices: + package_license_choices: + - package_id: "Maven:org.glassfish:javax.json:1.1.4" + license_choices: + - given: CDDL-1.1 OR GPL-2.0-only + choice: CDDL-1.1 + - package_id: "Maven:javax.json:javax.json-api:1.1.4" + license_choices: + - given: CDDL-1.1 OR GPL-2.0-only + choice: CDDL-1.1