Skip to content

Commit

Permalink
pyint
Browse files Browse the repository at this point in the history
  • Loading branch information
DGrothe-PhD committed Oct 11, 2024
1 parent 3812cef commit 01f9bf6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions example.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import pyttsx3 as tts
from extractTicketData import TrainTicket

#pylint disable=W0718
#pylint: disable=W0718
#from ExtractText import ExtractText

#for i in range(1,11):
Expand All @@ -21,4 +21,4 @@
pass
except:
print("TTS error occurred")
#pylint enable=W0718
#pylint: enable=W0718
2 changes: 0 additions & 2 deletions extractText.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from PyPDF2 import PdfReader
from PyPDF2 import errors

#pylint disable=R1732
class ExtractText:
"""
For desktop usage on Windows or Linux
Expand Down Expand Up @@ -70,4 +69,3 @@ def processPDF(self):
fobjVb.write(self.pdfPlainText)
fobjVb.close()

#pylint enable=R1732
3 changes: 2 additions & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ disable=missing-final-newline,
missing-module-docstring,
import-outside-toplevel,
no-method-argument,
too-many-instance-attributes
too-many-instance-attributes,
consider-using-with

0 comments on commit 01f9bf6

Please sign in to comment.