Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed May 13, 2024
1 parent fbb8153 commit 24d4c23
Showing 1 changed file with 22 additions and 25 deletions.
47 changes: 22 additions & 25 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ keywords = [
]
license = "MIT"
authors = [
{ name = "Saransh Chopra", email = "saransh0701@gmail.com" },
{ name = "Saransh Chopra", email = "saransh0701@gmail.com" },
]
requires-python = ">=3.7"
classifiers = [
Expand Down Expand Up @@ -44,19 +44,18 @@ dependencies = [
"numpy>=1.19.3",
"opencv-python>=4.5.3.56",
"packaging",
"pillow<10.0.0",
"pillow<10",
"pytesseract>=0.3.8",
"scikit-image>=0.18.3",
"scipy>=1.5.4",
]
[project.optional-dependencies]
dev = [
optional-dependencies.dev = [
"nltk>=3.5",
"pytest>=6",
"pytest-cov>=3",
"xdoctest>=1",
]
docs = [
optional-dependencies.docs = [
"markdown-callouts>=0.2",
"mkdocs>=1.3.1",
"mkdocs-include-exclude-files>=0.0.1",
Expand All @@ -66,21 +65,19 @@ docs = [
"mkdocstrings-python-legacy>=0.2.3",
"pymdown-extensions>=9.5",
]
nltk = [
optional-dependencies.nltk = [
"nltk>=3.5",
]
test = [
optional-dependencies.test = [
"pytest>=6",
"pytest-cov>=3",
"xdoctest>=1",
]
[project.urls]
"Bug Tracker" = "https://github.com/Saransh-cpp/OCRed/issues"
Changelog = "https://ocred.readthedocs.io/en/latest/changelog/"
Discussions = "https://github.com/Saransh-cpp/OCRed/discussions"
Documentation = "https://ocred.readthedocs.io/"
Homepage = "https://github.com/Saransh-cpp/OCRed"

urls."Bug Tracker" = "https://github.com/Saransh-cpp/OCRed/issues"
urls.Changelog = "https://ocred.readthedocs.io/en/latest/changelog/"
urls.Discussions = "https://github.com/Saransh-cpp/OCRed/discussions"
urls.Documentation = "https://ocred.readthedocs.io/"
urls.Homepage = "https://github.com/Saransh-cpp/OCRed"
[tool.hatch]
version.source = "vcs"
build.hooks.vcs.version-file = "ocred/version.py"
Expand All @@ -92,32 +89,32 @@ profile = "black"
minversion = "6.0"
xfail_strict = true
addopts = [
"-ra",
"--strict-markers",
"--strict-config",
"-ra",
"--strict-markers",
"--strict-config",
]
testpaths = [
"tests",
"tests",
]
log_cli_level = "DEBUG"
filterwarnings = [
"error",
"ignore::DeprecationWarning",
"ignore::UserWarning",
"error",
"ignore::DeprecationWarning",
"ignore::UserWarning",
]

[tool.mypy]
files = [
"./ocred/",
"./ocred/",
]
python_version = "3.8"
strict = true
warn_return_any = false
show_error_codes = true
warn_unreachable = true
enable_error_code = [
"ignore-without-code",
"truthy-bool",
"redundant-expr",
"ignore-without-code",
"truthy-bool",
"redundant-expr",
]
ignore_missing_imports = true

0 comments on commit 24d4c23

Please sign in to comment.