-
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.
chore: update some deps, add docs, lint and format code
- Loading branch information
1 parent
9f5a5a8
commit 3faa7b6
Showing
15 changed files
with
452 additions
and
147 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
repos: | ||
# https://github.com/pre-commit/pre-commit-hooks#pre-commit-hooks | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
rev: v4.6.0 | ||
hooks: | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- id: check-added-large-files | ||
|
||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.1.0 # Ruff version | ||
rev: v0.5.4 # Ruff version | ||
hooks: | ||
# Run the linter | ||
- id: ruff | ||
args: [--fix, --exit-non-zero-on-fix] | ||
|
||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.1.0 # Ruff version | ||
hooks: | ||
args: [--fix, --exit-non-zero-on-fix, --select, I] | ||
# Run the formatter | ||
- id: ruff-format |
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
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
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,6 +1,6 @@ | ||
[project] | ||
name = "word-generator-api" | ||
version = "1.5.6" | ||
version = "1.5.7" | ||
description = "Generates words that don't exist but sound English, French, Spanish or Italian, along with their altered dictionary definitions." | ||
authors = [{ name = "Adrien Carpentier", email = "[email protected]" }] | ||
dependencies = [ | ||
|
@@ -10,7 +10,7 @@ dependencies = [ | |
"nltk<4.0,>=3.7", | ||
"requests<3.0.0,>=2.27.1", | ||
"slowapi<1.0.0,>=0.1.5", | ||
"sentry-sdk>=1.15.0", | ||
"sentry-sdk>=2.10.0", | ||
"spacy<4.0.0,>=3.2.4", | ||
"tqdm<5.0.0,>=4.63.0", | ||
"tortoise-orm>=0.19.3", | ||
|
@@ -29,19 +29,14 @@ requires = ["pdm-pep517>=1.0.0"] | |
build-backend = "pdm.pep517.api" | ||
|
||
[tool] | ||
rye = { dev-dependencies = [ | ||
"pre-commit>=3.6.0", | ||
"ruff>=0.2.0", | ||
] } | ||
rye = { dev-dependencies = ["pre-commit>=3.7.1", "ruff>=0.5.4"] } | ||
|
||
[tool.pdm] | ||
includes = [] | ||
|
||
[tool.pdm.dev-dependencies] | ||
dev = [ | ||
"ruff>=0.1.0", | ||
"pre-commit>=3.5.0", | ||
] | ||
dev = ["pre-commit>=3.7.1", "ruff>=0.5.4"] | ||
|
||
[tool.ruff] | ||
ignore = ["E501"] | ||
lint = { select = ["I"] } | ||
line-length = 100 |
Oops, something went wrong.