Spaces:
Running
Running
Commit
·
b03d09e
1
Parent(s):
32146c4
Update dependencies
Browse files- .bumpversion.cfg +16 -16
- .pre-commit-config.yaml +74 -74
- pyproject.toml +1 -0
.bumpversion.cfg
CHANGED
|
@@ -1,16 +1,16 @@
|
|
| 1 |
-
[bumpversion]
|
| 2 |
-
current_version = 0.2.0
|
| 3 |
-
commit = False
|
| 4 |
-
tag = False
|
| 5 |
-
|
| 6 |
-
[bumpversion:file:pyproject.toml]
|
| 7 |
-
search = version = "{current_version}"
|
| 8 |
-
replace = version = "{new_version}"
|
| 9 |
-
|
| 10 |
-
[bumpversion:file:src/deep_barcode_reader/__init__.py]
|
| 11 |
-
search = __version__ = "{current_version}"
|
| 12 |
-
replace = __version__ = "{new_version}"
|
| 13 |
-
|
| 14 |
-
[bumpversion:file:tests/test_deep_barcode_reader.py]
|
| 15 |
-
search = __version__ == "{current_version}"
|
| 16 |
-
replace = __version__ == "{new_version}"
|
|
|
|
| 1 |
+
[bumpversion]
|
| 2 |
+
current_version = 0.2.0
|
| 3 |
+
commit = False
|
| 4 |
+
tag = False
|
| 5 |
+
|
| 6 |
+
[bumpversion:file:pyproject.toml]
|
| 7 |
+
search = version = "{current_version}"
|
| 8 |
+
replace = version = "{new_version}"
|
| 9 |
+
|
| 10 |
+
[bumpversion:file:src/deep_barcode_reader/__init__.py]
|
| 11 |
+
search = __version__ = "{current_version}"
|
| 12 |
+
replace = __version__ = "{new_version}"
|
| 13 |
+
|
| 14 |
+
[bumpversion:file:tests/test_deep_barcode_reader.py]
|
| 15 |
+
search = __version__ == "{current_version}"
|
| 16 |
+
replace = __version__ == "{new_version}"
|
.pre-commit-config.yaml
CHANGED
|
@@ -1,74 +1,74 @@
|
|
| 1 |
-
# See https://pre-commit.com for more information
|
| 2 |
-
# See https://pre-commit.com/hooks.html for more hooks
|
| 3 |
-
default_language_version:
|
| 4 |
-
python: python3
|
| 5 |
-
repos:
|
| 6 |
-
- repo: https://github.com/pre-commit/pre-commit-hooks
|
| 7 |
-
rev: v4.5.0 # the release, git tag, or commit you want to use
|
| 8 |
-
hooks:
|
| 9 |
-
- id: check-toml
|
| 10 |
-
- id: check-yaml
|
| 11 |
-
- id: check-json
|
| 12 |
-
- id: end-of-file-fixer
|
| 13 |
-
- id: trailing-whitespace
|
| 14 |
-
- id: no-commit-to-branch
|
| 15 |
-
- id: check-executables-have-shebangs
|
| 16 |
-
- id: check-added-large-files
|
| 17 |
-
- id: check-case-conflict
|
| 18 |
-
- id: check-merge-conflict
|
| 19 |
-
- id: pretty-format-json
|
| 20 |
-
args:
|
| 21 |
-
- --autofix
|
| 22 |
-
- id: check-symlinks
|
| 23 |
-
- id: check-ast
|
| 24 |
-
- id: detect-private-key
|
| 25 |
-
- repo: https://github.com/psf/black
|
| 26 |
-
rev: 24.1.1
|
| 27 |
-
hooks:
|
| 28 |
-
- id: black
|
| 29 |
-
language: python
|
| 30 |
-
- repo: https://github.com/pre-commit/mirrors-mypy
|
| 31 |
-
rev: v1.8.0
|
| 32 |
-
hooks:
|
| 33 |
-
- id: mypy
|
| 34 |
-
language: system
|
| 35 |
-
args: [--strict, --ignore-missing-imports]
|
| 36 |
-
- repo: https://github.com/pycqa/pylint
|
| 37 |
-
rev: v3.0.3
|
| 38 |
-
hooks:
|
| 39 |
-
- id: pylint
|
| 40 |
-
language: system
|
| 41 |
-
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
| 42 |
-
rev: v1.5.4
|
| 43 |
-
hooks:
|
| 44 |
-
- id: forbid-crlf
|
| 45 |
-
- id: remove-crlf
|
| 46 |
-
- id: forbid-tabs
|
| 47 |
-
- id: remove-tabs
|
| 48 |
-
- repo: https://github.com/PyCQA/bandit
|
| 49 |
-
rev: 1.7.7
|
| 50 |
-
hooks:
|
| 51 |
-
- id: bandit
|
| 52 |
-
args: ["--skip=B101"]
|
| 53 |
-
- repo: https://github.com/Lucas-C/pre-commit-hooks-markup
|
| 54 |
-
rev: v1.0.1
|
| 55 |
-
hooks:
|
| 56 |
-
- id: rst-linter
|
| 57 |
-
- repo: https://github.com/Yelp/detect-secrets
|
| 58 |
-
rev: v1.4.0
|
| 59 |
-
hooks:
|
| 60 |
-
- id: detect-secrets
|
| 61 |
-
language: python
|
| 62 |
-
exclude: "poetry.lock"
|
| 63 |
-
# args: ['--baseline', '.secrets.baseline']
|
| 64 |
-
- repo: https://github.com/shellcheck-py/shellcheck-py
|
| 65 |
-
rev: v0.9.0.6
|
| 66 |
-
hooks:
|
| 67 |
-
- id: shellcheck
|
| 68 |
-
args: ["--external-sources"]
|
| 69 |
-
- repo: https://github.com/python-poetry/poetry
|
| 70 |
-
rev: '1.7.1'
|
| 71 |
-
hooks:
|
| 72 |
-
- id: poetry-check
|
| 73 |
-
- id: poetry-lock
|
| 74 |
-
args: ["--no-update"]
|
|
|
|
| 1 |
+
# See https://pre-commit.com for more information
|
| 2 |
+
# See https://pre-commit.com/hooks.html for more hooks
|
| 3 |
+
default_language_version:
|
| 4 |
+
python: python3
|
| 5 |
+
repos:
|
| 6 |
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
| 7 |
+
rev: v4.5.0 # the release, git tag, or commit you want to use
|
| 8 |
+
hooks:
|
| 9 |
+
- id: check-toml
|
| 10 |
+
- id: check-yaml
|
| 11 |
+
- id: check-json
|
| 12 |
+
- id: end-of-file-fixer
|
| 13 |
+
- id: trailing-whitespace
|
| 14 |
+
- id: no-commit-to-branch
|
| 15 |
+
- id: check-executables-have-shebangs
|
| 16 |
+
- id: check-added-large-files
|
| 17 |
+
- id: check-case-conflict
|
| 18 |
+
- id: check-merge-conflict
|
| 19 |
+
- id: pretty-format-json
|
| 20 |
+
args:
|
| 21 |
+
- --autofix
|
| 22 |
+
- id: check-symlinks
|
| 23 |
+
- id: check-ast
|
| 24 |
+
- id: detect-private-key
|
| 25 |
+
- repo: https://github.com/psf/black
|
| 26 |
+
rev: 24.1.1
|
| 27 |
+
hooks:
|
| 28 |
+
- id: black
|
| 29 |
+
language: python
|
| 30 |
+
- repo: https://github.com/pre-commit/mirrors-mypy
|
| 31 |
+
rev: v1.8.0
|
| 32 |
+
hooks:
|
| 33 |
+
- id: mypy
|
| 34 |
+
language: system
|
| 35 |
+
args: [--strict, --ignore-missing-imports]
|
| 36 |
+
- repo: https://github.com/pycqa/pylint
|
| 37 |
+
rev: v3.0.3
|
| 38 |
+
hooks:
|
| 39 |
+
- id: pylint
|
| 40 |
+
language: system
|
| 41 |
+
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
| 42 |
+
rev: v1.5.4
|
| 43 |
+
hooks:
|
| 44 |
+
- id: forbid-crlf
|
| 45 |
+
- id: remove-crlf
|
| 46 |
+
- id: forbid-tabs
|
| 47 |
+
- id: remove-tabs
|
| 48 |
+
- repo: https://github.com/PyCQA/bandit
|
| 49 |
+
rev: 1.7.7
|
| 50 |
+
hooks:
|
| 51 |
+
- id: bandit
|
| 52 |
+
args: ["--skip=B101"]
|
| 53 |
+
- repo: https://github.com/Lucas-C/pre-commit-hooks-markup
|
| 54 |
+
rev: v1.0.1
|
| 55 |
+
hooks:
|
| 56 |
+
- id: rst-linter
|
| 57 |
+
- repo: https://github.com/Yelp/detect-secrets
|
| 58 |
+
rev: v1.4.0
|
| 59 |
+
hooks:
|
| 60 |
+
- id: detect-secrets
|
| 61 |
+
language: python
|
| 62 |
+
exclude: "poetry.lock"
|
| 63 |
+
# args: ['--baseline', '.secrets.baseline']
|
| 64 |
+
- repo: https://github.com/shellcheck-py/shellcheck-py
|
| 65 |
+
rev: v0.9.0.6
|
| 66 |
+
hooks:
|
| 67 |
+
- id: shellcheck
|
| 68 |
+
args: ["--external-sources"]
|
| 69 |
+
- repo: https://github.com/python-poetry/poetry
|
| 70 |
+
rev: '1.7.1'
|
| 71 |
+
hooks:
|
| 72 |
+
- id: poetry-check
|
| 73 |
+
- id: poetry-lock
|
| 74 |
+
args: ["--no-update"]
|
pyproject.toml
CHANGED
|
@@ -56,6 +56,7 @@ torchvision = [
|
|
| 56 |
{ version = "^0.16.0", source = "pypi", platform = "darwin"},
|
| 57 |
]
|
| 58 |
numpy = "1.26.4"
|
|
|
|
| 59 |
|
| 60 |
|
| 61 |
[tool.poetry.group.dev.dependencies]
|
|
|
|
| 56 |
{ version = "^0.16.0", source = "pypi", platform = "darwin"},
|
| 57 |
]
|
| 58 |
numpy = "1.26.4"
|
| 59 |
+
streamlit = "^1.42.2"
|
| 60 |
|
| 61 |
|
| 62 |
[tool.poetry.group.dev.dependencies]
|