Skip to main content

Checks for code usages that can be replaced with Plone API method calls.

Project description

https://travis-ci.org/gforcada/flake8-plone-api.svg?branch=master https://coveralls.io/repos/gforcada/flake8-plone-api/badge.svg?branch=master&service=github

Flake8 Plone API plugin

Checks for code usages that can be replaced with Plone API method calls.

Install

Install with pip:

$ pip install flake8-plone-api

Requirements

  • Python 2.6, 2.7, 3.3, 3.4

  • flake8

License

GPL 2.0

Changelog

0.1 (2015-08-15)

  • Initial release [gforcada]

  • Add buildout and other stuff. [gforcada]

  • Add a mapping.json to add Plone API method calls to old usages data [gforcada]

  • Add a mapping.py to convert mapping.json into a reverse mapping (to be used by the flake8 plugin). [gforcada]

  • Create the flake8 plugin per se that iterates over the files and searches for old usages (coming from mapping.py). [gforcada]

  • Add tests and badges for travis and coveralls [gforcada]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8-plone-api-0.1.tar.gz (14.3 kB view details)

Uploaded Source

File details

Details for the file flake8-plone-api-0.1.tar.gz.

File metadata

File hashes

Hashes for flake8-plone-api-0.1.tar.gz
Algorithm Hash digest
SHA256 0adb6f791bb1617357b20352cca25dcc564b9c41b03e66f15fb7fb6ef7512ff6
MD5 891a109de27268bb57d37e34b7d0ac99
BLAKE2b-256 0e91eb681fc2268d6a4b6a994d384ceac7eec23f054db38e73ee97e4d529688f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page