Skip to content

Commit

Permalink
update .pylintrc file
Browse files Browse the repository at this point in the history
  • Loading branch information
moheladwy committed Dec 14, 2024
1 parent 6d1089d commit 4dc0381
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
disable=
C0114, # Missing module docstring
C0115, # Missing class docstring
C0301, # Line too long
C0103, # Invalid variable name
C0411, # Wrong import order
E1101, # No member
W0612, # Unused variable
W0718 # Broad exception caught
4 changes: 2 additions & 2 deletions OCR4Linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
# The script uses wl-copy and cliphist for Wayland and xclip for X11 to copy the extracted text to the clipboard.
# The script uses a python script to extract text from the image.
# ========================================================================================================================
from PIL import Image
import pytesseract
import sys
import os
from PIL import Image
import pytesseract
import cv2
import numpy as np

Expand Down

0 comments on commit 4dc0381

Please sign in to comment.