servo: Merge #15731 - Update `servo-tidy` to 0.3.0 (from UK992:tidy); r=Wafflespeanut
authorUK992 <urbankrajnc92@gmail.com>
Sat, 25 Feb 2017 06:41:05 -0800
changeset 344882 19890a84e6c843b27b0e5953ca4db3049b886894
parent 344881 22df3f4f6e66bb131f57c16dd0b615166a49444e
child 344883 f2c4369cac4f66f526ab719c5d7f992dc77de3bc
push id37973
push userservo-vcs-sync@mozilla.com
push dateSat, 25 Feb 2017 15:27:59 +0000
treeherderautoland@19890a84e6c8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersWafflespeanut
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
servo: Merge #15731 - Update `servo-tidy` to 0.3.0 (from UK992:tidy); r=Wafflespeanut r? @Wafflespeanut It's ready to publishing to PyPI. Source-Repo: https://github.com/servo/servo Source-Revision: 524ba6a442f3215935f0b80b8b198eef096363bb
servo/python/tidy/HISTORY.rst
servo/python/tidy/README.rst
servo/python/tidy/setup.py
--- a/servo/python/tidy/HISTORY.rst
+++ b/servo/python/tidy/HISTORY.rst
@@ -1,12 +1,22 @@
 Release History
 ---------------
 
-0.1.0 (2016-08-09)
+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)
 ++++++++++++++++++
 
--- a/servo/python/tidy/README.rst
+++ b/servo/python/tidy/README.rst
@@ -1,17 +1,26 @@
 servo_tidy
 ==========
 
 Servo's code and license checker.
 
-Install from PyPI (coming soon) or
+Installation
+++++++++++++
+
+Install from PyPI:
+
+::
 
-```
-pip install -e git+https://github.com/servo/servo.git#egg=servo_tidy&subdirectory=python/tidy
-```
+  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
-```
+::
+
+  ./mach test-tidy --self-test
--- a/servo/python/tidy/setup.py
+++ b/servo/python/tidy/setup.py
@@ -6,21 +6,21 @@
 # <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
 # option. This file may not be copied, modified, or distributed
 # except according to those terms.
 
 import os
 from setuptools import setup, find_packages
 
 
-VERSION = '0.2.0'
+VERSION = '0.3.0'
 
 install_requires = [
     "flake8==2.4.1",
-    "toml==0.9.1",
+    "toml==0.9.2",
     "colorama==0.3.7",
 ]
 
 here = os.path.dirname(os.path.abspath(__file__))
 # get documentation from the README and HISTORY
 try:
     with open(os.path.join(here, 'README.rst')) as doc:
         readme = doc.read()