Skip to content

Commit

Permalink
ort config
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jan 20, 2025
1 parent 372702e commit 660666f
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 6 deletions.
27 changes: 27 additions & 0 deletions _typos.toml → .github/typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/typos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
- uses: actions/checkout@v4
- uses: crate-ci/typos@master
with:
config: ./.github/.typos.toml
config: ./.github/typos.toml
17 changes: 12 additions & 5 deletions .github/.typos.toml → .ort.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

1 comment on commit 660666f

@0crat
Copy link

@0crat 0crat commented on 660666f Jan 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yegor256 It is not a good idea to push directly to the default branch master. You've earned -16 points. Next time, create a new branch, push your changes over there, then make a pull request and merge it. Even if you are flying solo, contributing via pull requests is a good practice. Your running balance is -108.

Please sign in to comment.