зеркало из https://github.com/mozilla/gecko-dev.git
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 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : d287c6e99677b67c888cd9a0b9d9ac3cd3d2b53f
This commit is contained in:
Родитель
20e7357c74
Коммит
f5f93faeeb
|
@ -1,7 +1,17 @@
|
|||
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
|
||||
|
|
|
@ -3,15 +3,24 @@ servo_tidy
|
|||
|
||||
Servo's code and license checker.
|
||||
|
||||
Install from PyPI (coming soon) or
|
||||
Installation
|
||||
++++++++++++
|
||||
|
||||
```
|
||||
pip install -e git+https://github.com/servo/servo.git#egg=servo_tidy&subdirectory=python/tidy
|
||||
```
|
||||
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
|
||||
```
|
||||
::
|
||||
|
||||
./mach test-tidy --self-test
|
||||
|
|
|
@ -11,11 +11,11 @@ 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",
|
||||
]
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче