forked from coala/coala-bears
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove duplicated function and unify it in compat
JSComplexityBear.py and JSONFormatBear.py had a common function get_available_decodeerror, which can lead to differences in future, hence, it is unified in the compat module, from where the error is imported.
- Loading branch information
1 parent
72f1bac
commit c48383d
Showing
4 changed files
with
4 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters