aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* Convert tidy to a non-egg Python packageMartin Robinson2023-06-151-60/+0
| | | | | | | | | | | It seems that servo-tidy is only used by webrender in my GitHub searches. WebRender could simply use `rustfmt` and the tidy on pypi hasn't been updated since 2018. Converting tidy to a normal Python package removes the maintenance burden of continually fixing the easy install configuration. Fixes #29094. Fixes #29334.
* Merge forbidden panic check into test-tidyMartin Robinson2023-03-221-1/+1
| | | | | | | | | This cleans up the GitHub actions yaml a bit and ensures that developers are running this check locally before submitting changes. In addition, it allows adding tests for this check. Finally, this change fixes the tidy tests by upgrading voluptuous for Python 3.10 as well as by reverting an inadvertent change for NixOS compatibility on one of the dummy testing files.
* build(deps): bump pyyaml from 5.1 to 5.4 in /python/tidydependabot[bot]2021-03-251-1/+1
| | | | | | | | Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.1 to 5.4. - [Release notes](https://github.com/yaml/pyyaml/releases) - [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES) - [Commits](https://github.com/yaml/pyyaml/compare/5.1...5.4) Signed-off-by: dependabot[bot] <support@github.com>
* Use except Exception where Py2/3 disagreesKagami Sascha Rosylight2020-06-211-2/+2
|
* Upgrade flake8/pyflakes for Py3 compatibilityKagami Sascha Rosylight2020-06-201-3/+3
|
* Include missing dependency requirementsKartikaya Gupta (kats)2019-05-151-0/+2
| | | Running `servo-tidy` in a virtualenv where all you've done is `pip install servo-tidy==0.3.0` doesn't actually work because of missing dependencies. PyYAML and voluptuous are required as well. I don't know anything about python package management but declaring these missing dependencies seems like an appropriate thing to do. Patch itself is untested because I don't know how, although with these dependencies installed in my virtualenv running `servo-tidy` works.
* Update `servo-tidy` to 0.3.0UK9922017-02-251-2/+2
|
* bump Tidy version noedunham2016-08-291-1/+1
|
* Add support colored text in Windows ConsoleUK9922016-08-131-0/+1
|
* Improve tidy's license validation logicedunham2016-08-121-2/+2
| | | | | | | | | | | fixes https://github.com/servo/servo/issues/10716 I took the lazy way out and hardcoded the size of block we examine for licenses. fixes https://github.com/servo/servo/issues/10719 Includes tests for new functionality.
* Allow another wording of apache2/MIT (used by gaol)edunham2016-04-191-1/+1
|
* bump the minor version of servo_tidyaskeing2016-04-171-1/+1
| | | | - and add clean folder into Makefile
* Add "servo-tidy" entry pointaskeing2016-04-171-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | - also update requriements "pyflakes" from 0.8 to 0.8.1 due to following issue ``` Traceback (most recent call last): File "/Users/Askeing/software/servo/python/_virtualenv/bin/servo-tidy", line 5, in <module> from pkg_resources import load_entry_point File "/Users/Askeing/software/servo/python/_virtualenv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3084, in <module> @_call_aside File "/Users/Askeing/software/servo/python/_virtualenv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3070, in _call_aside f(*args, **kwargs) File "/Users/Askeing/software/servo/python/_virtualenv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3097, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/Users/Askeing/software/servo/python/_virtualenv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 653, in _build_master return cls._build_from_requirements(__requires__) File "/Users/Askeing/software/servo/python/_virtualenv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 666, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/Users/Askeing/software/servo/python/_virtualenv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 839, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'pyflakes==0.8.1' distribution was not found and is required by servo-tidy ```
* Add dependency on toml base on python/requirements.txtaskeing2016-04-171-0/+1
|
* Add dependency on flake8 base on python/requirements.txtaskeing2016-04-171-0/+1
|
* Add servo_tidy_tests into ignore dirs, and modify setup.py to fit the tidy checkaskeing2016-04-151-1/+11
| | | | - fix the issue of '$ ./mach test-tidy --no-progress'
* Modify the description of setup.pyaskeing2016-04-141-2/+2
|
* Create a Python package of TidyAskeing Yen (fyen)2016-04-131-0/+40