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 details)

Uploaded Source

File details

Details for the file servo_tidy-0.3.0.tar.gz.

File metadata

  • Download URL: servo_tidy-0.3.0.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for servo_tidy-0.3.0.tar.gz
Algorithm Hash digest
SHA256 fd7462a3ae940bcaa5a696260c0279186ae826ab1e9d0ee0c625ae1b8f9c75ad
MD5 fdda794bfd96ff8c012b9c7988c76c95
BLAKE2b-256 fff47eac540c089b501e18b3c0bd32b3686f3f3f5e37e3138820dd92d2ff3bc0

See more details on using hashes here.

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