Skip to main content

The servo-tidy is used to check licenses, line lengths, whitespace, flake8 on Python files, lock file versions, and more.

Project description

Servo’s code and license checker.

Installation

Install from PyPI:

pip install servo-tidy

or from git:

pip install -e git+https://github.com/servo/servo.git#egg=servo_tidy&subdirectory=python/tidy

To run the tests

./mach test-tidy --self-test

Release History

0.3.0 (2017-02-24)

  • Added checking for blocked packages

  • Added checking for alphabetical order for JSON keys and #![feature(...)]

  • Improved duplicated packages checking

  • Improved ordering use statements

  • Allow tidy to run custom project-specific lints

  • And many other improvements

0.2.0 (2016-08-09)

  • Improve license checking to disregard comments and line breaks

  • License checking verifies that COPYRIGHT is specified when apache2 is used

0.0.3 (2016-04-19)

  • Add alternate wording of apache2 license

0.0.2 (2016-04-17)

  • Cleanup Tidy to work on external deps

0.0.1 (2016-04-12)

  • Package Tidy

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

servo_tidy-0.3.0.tar.gz (19.0 kB view hashes)

Uploaded Source

Supported by

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