-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from spraakbanken/fix-names
fix names
- Loading branch information
Showing
10 changed files
with
834 additions
and
681 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
hooks: | ||
- id: check-yaml | ||
stages: [commit] | ||
- id: check-json | ||
stages: [commit] | ||
- id: check-toml | ||
stages: [commit] | ||
- id: check-merge-conflict | ||
stages: [commit] | ||
- id: check-case-conflict | ||
stages: [commit] | ||
- id: detect-private-key | ||
stages: [commit] | ||
# - id: end-of-file-fixer | ||
- id: check-added-large-files | ||
stages: [commit] | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
# Ruff version. | ||
rev: v0.4.4 | ||
hooks: | ||
# Run the linter. | ||
- id: ruff | ||
# Run the formatter. | ||
- id: ruff-format | ||
- repo: https://github.com/crate-ci/committed | ||
rev: v1.0.20 | ||
hooks: | ||
- id: committed | ||
stages: [commit-msg] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[project] | ||
name = "sparv-sbx-sentence-sentiment-kb-sent" | ||
version = "0.1.0" | ||
description = "A sparv plugin for computing word neighbours using a BERT model." | ||
description = "A sparv plugin for computing sentence sentiment." | ||
authors = [ | ||
{ name = "Språkbanken Text", email = "[email protected]" }, | ||
{ name = "Kristoffer Andersson", email = "[email protected]" }, | ||
|
@@ -55,7 +55,4 @@ allow-direct-references = true | |
|
||
|
||
[tool.pdm.dev-dependencies] | ||
dev = [ | ||
"pytest>=8.0.0", | ||
"syrupy>=4.6.1", | ||
] | ||
dev = ["pytest>=8.0.0", "syrupy>=4.6.1"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
sparv-sbx-sentence-sentiment-kb-sent/src/sbx_sentence_sentiment_kb_sent/constants.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
"""Constants used in this project.""" | ||
|
||
PROJECT_NAME: str = "sbx_sentence_sentiment_kb_sent" |