Skip to content

Commit

Permalink
revert for sec pr
Browse files Browse the repository at this point in the history
  • Loading branch information
felixT2K committed Apr 20, 2023
1 parent 29f9e8c commit 0fa65cc
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: main

jobs:
flake8:
ruff:
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down
9 changes: 1 addition & 8 deletions docs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,7 @@ function deploy_doc(){
fi
COMMIT=$(git rev-parse --short HEAD)
echo "Creating doc at commit" $COMMIT "and pushing to folder $2"
# Hotfix
if [ "$1" \< "dcbb21f" ]
then
pip install -U ..
pip install rapidfuzz==2.15.1
else
pip install -U ..
fi
pip install -U ..
if [ ! -z "$2" ]
then
if [ "$2" == "latest" ]; then
Expand Down
6 changes: 6 additions & 0 deletions doctr/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright (C) 2021-2023, Mindee.

# This program is licensed under the Apache License 2.0.
# See LICENSE or go to <https://opensource.org/licenses/Apache-2.0> for full license details.

__version__ = '0.6.1a0'
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ known_third_party = ["tensorflow", "torch", "torchvision", "wandb", "fastprogres

[tool.ruff]
ignore = ["E402", "F403", "E731"]
exclude = [".github", ".git", "venv*", "docs", "build"]
exclude = [".git", "venv*", "build"]
line-length = 120
target-version = "py38"

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from setuptools import setup

PKG_NAME = "python-doctr"
VERSION = os.getenv("BUILD_VERSION", "0.6.1a0")
VERSION = os.getenv("BUILD_VERSION", "0.7.1a0")


if __name__ == "__main__":
Expand Down

0 comments on commit 0fa65cc

Please sign in to comment.