forked from gridhead/gi-loadouts
-
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.
Fix
pytest-xdist
entrypoint with custom caching
Also, add `tesseract` in the testing environment Add coverage for `conf.py` and make necessary changes according to the suggestions Co-authored-by: Akashdeep Dhar <[email protected]> Co-authored-by: Shounak Dey <[email protected]>
- Loading branch information
1 parent
12e8f44
commit 8ed0583
Showing
7 changed files
with
84 additions
and
56 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
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,10 +1,17 @@ | ||
from platform import system | ||
|
||
if system() == "Windows": | ||
tessexec = "C:\\Program Files\\Tesseract-OCR\\tesseract.exe" | ||
else: | ||
tessexec = "/usr/bin/tesseract" | ||
|
||
def get_tessexec_path(): | ||
if system() == "Windows": | ||
return "C:\\Program Files\\Tesseract-OCR\\tesseract.exe" | ||
else: | ||
return "/usr/bin/tesseract" | ||
|
||
tessexec = get_tessexec_path() | ||
|
||
tempname = "" | ||
temppath = "" | ||
stattime = 5000 | ||
|
||
data_prefix = "gi-loadouts-" | ||
data_suffix = ".traineddata" |
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