Switch gdp to use pocket-lint

Bug #601375 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gedit Developer Plugins
Fix Released
High
Unassigned

Bug Description

GDPFormat's rules were extracted to a standalone library names pocket-lint

The imports
    from gdp.formatdoctest import DoctestReviewer
    from gdp.formatcheck import Reporter, UniversalChecker
become
    from pocketlint.formatdoctest import DoctestReviewer
    from pocketlint.formatcheck import Reporter, UniversalChecker

Note that the plugin is passing a gedit language id, but the methods require pocketlint.formatcheck.Language (a crude gedit Language implementation). Calling the stating get_language(file_path) method may work.

Related branches

Curtis Hovey (sinzui)
Changed in gdp:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in gdp:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
Changed in gdp:
assignee: Curtis Hovey (sinzui) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.