-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* TLDR-429 flake8 style testing added (#306) * TLDR-429 flake8 style testing added * Fix tests * Docs fix * Fix tests * Review fixes * TLDR-420 word bbox annotation (#307) * add bbox annotations for words * update tests * fix lint * fix confidence annotation and save relative bbox in BBoxAnnotation * add docstrings for page_width and page_height * new version 0.11.0 (#310) --------- Co-authored-by: Bogatenkova Anastasiya <[email protected]> Co-authored-by: Andrew Perminov <[email protected]>
- Loading branch information
1 parent
73b7c3c
commit 9a1f7ff
Showing
292 changed files
with
2,487 additions
and
3,211 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[flake8] | ||
|
||
max-line-length = 160 | ||
max-complexity = 13 | ||
inline-quotes = " | ||
application-import-names = dedoc, tests | ||
import-order-style = pycharm | ||
exclude = | ||
.git, | ||
__pycache__, | ||
.idea, | ||
.github, | ||
*__init__.py, | ||
resources, | ||
dedoc/scripts, | ||
examples, | ||
docs, | ||
venv, | ||
build, | ||
dedoc.egg-info | ||
# ANN101 - type annotations for self | ||
ignore = | ||
ANN101 |
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,20 @@ | ||
repos: | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 5.0.4 | ||
hooks: | ||
- id: flake8 | ||
exclude: \.github|.*__init__\.py|resources|dedoc/scripts|examples|docs|venv|build|dedoc\.egg-info | ||
args: | ||
- "--config=.flake8" | ||
additional_dependencies: [ | ||
flake8-absolute-import==1.0.0.1, | ||
flake8-annotations==2.9.1, | ||
flake8-bugbear==23.3.12, | ||
flake8-builtins==2.1.0, | ||
flake8-import-order==0.18.2, | ||
flake8-print==5.0.0, | ||
flake8-quotes==3.3.2, | ||
flake8-use-fstring==1.4, | ||
pycodestyle==2.9.0, | ||
pep8-naming==0.13.3 | ||
] |
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 +1 @@ | ||
0.10.0 | ||
0.11.0 |
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
Oops, something went wrong.