@@ -112,17 +112,27 @@ load-plugins=[
112112 " pylint_per_file_ignores" ,
113113]
114114
115- [tool .pylint .'MESSAGES CONTROL' ]
116115# Silence warning: shapefile.py:2076:20: W0212: Access to a protected
117116# member _from_geojson of a client class (protected-access)
118- #
117+ # Silence remarks:
118+ # src\shapefile.py:338:0: R0914: Too many local variables (21/15) (too-many-locals)
119+ # src\shapefile.py:338:0: R0912: Too many branches (24/12) (too-many-branches)
120+ # src\shapefile.py:338:0: R0915: Too many statements (52/50) (too-many-statements)
121+ # src\shapefile.py:470:0: R0902: Too many instance attributes (9/7) (too-many-instance-attributes)
122+ # src\shapefile.py:471:4: R0913: Too many arguments (6/5) (too-many-arguments)
123+ # src\shapefile.py:471:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments)
124+ # src\shapefile.py:506:4: R0911: Too many return statements (10/6) (too-many-return-statements)
125+ # src\shapefile.py:878:0: R0903: Too few public methods (0/2) (too-few-public-methods)
126+ # src\shapefile.py:1981:0: R0904: Too many public methods (23/20) (too-many-public-methods)
127+ # src\shapefile.py:2117:17: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
119128# Silence warnings: test_shapefile.py:{783,786,799,803,06,1195}:19:
120129# W0212: Access to a protected member _offsets of a
121130# client class (protected-access)
122131#
123132# Toml multi-line string used instead of array due to:
124133# https://github.com/christopherpickering/pylint-per-file-ignores/issues/160
125- per-file-ignores = """
126- shapefile.py:W0212
127- test_shapefile.py:W0212
128- """
134+ [tool .pylint .'messages control' ]
135+ per-file-ignores = [
136+ " /src/shapefile.py:W0212,R0902,R0903,R0904,R0911,R0912,R0913,R0914,R0915,R0917,R1732" ,
137+ " test_shapefile.py:W0212,R1732" ,
138+ ]
0 commit comments