File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -589,7 +589,10 @@ $(bdist_file) $(version_file): pyproject.toml $(dist_dependent_files)
589
589
$(done_dir ) /pylint_$(pymn ) _$(PACKAGE_LEVEL ) .done : $(done_dir ) /develop_$(pymn ) _$(PACKAGE_LEVEL ) .done $(pylint_rc_file ) $(check_py_files )
590
590
@echo " Makefile: Running Pylint"
591
591
-$(call RM_FUNC,$@ )
592
- pylint $(pylint_opts ) --rcfile=$(pylint_rc_file ) --output-format=text $(check_py_files )
592
+ cat $$(python -c "import collections.abc as m; print(m.__file__ ) " )
593
+ cat $$(python -c "import collections as m; print(m.__file__ ) " )
594
+ pylint --version
595
+ pylint $(pylint_opts ) --rcfile=$(pylint_rc_file ) --output-format=text zhmcclient/pylint_issue.py
593
596
echo " done" > $@
594
597
@echo " Makefile: Done running Pylint"
595
598
Original file line number Diff line number Diff line change
1
+ """
2
+ Reproduce pylint issue
3
+ """
4
+
5
+ from collections .abc import Mapping
6
+
7
+
8
+ def is_mapping (obj ):
9
+ """
10
+ Return whether obj is a Mapping
11
+ """
12
+ return isinstance (obj , Mapping )
You can’t perform that action at this time.
0 commit comments