Skip to content

Commit 90b5c4f

Browse files
author
Jim Bennett
committed
More lint fixes
1 parent 1b8220e commit 90b5c4f

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

.pylintrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,10 +313,10 @@ inlinevar-name-hint=[A-Za-z_][A-Za-z0-9_]*$
313313
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
314314

315315
# Naming hint for method names
316-
method-name-hint=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
316+
# method-name-hint=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
317317

318318
# Regular expression matching correct method names
319-
method-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
319+
# method-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
320320

321321
# Naming hint for module names
322322
module-name-hint=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
@@ -423,7 +423,7 @@ max-returns=6
423423
max-statements=50
424424

425425
# Minimum number of public methods for a class (see R0903).
426-
min-public-methods=1
426+
min-public-methods=0
427427

428428

429429
[EXCEPTIONS]

circuitpython_customvision/prediction/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@
1515
__all__ = ['CustomVisionPredictionClient']
1616

1717
__version__ = VERSION
18-

circuitpython_customvision/prediction/models/customvision_error.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ class CustomVisionError(Exception):
44
"""
55
def __init__(self, message):
66
super(CustomVisionError, self).__init__(message)
7-
self.message = message
7+
self.message = message

circuitpython_customvision/prediction/version.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@
1010
# --------------------------------------------------------------------------
1111

1212
VERSION = "3.0"
13-

0 commit comments

Comments
 (0)