diff options
author | bors-servo <infra@servo.org> | 2023-06-16 03:39:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-16 03:39:29 +0200 |
commit | 1fb7d45d5ff15dd1df67e6dfc62db813d2e2e948 (patch) | |
tree | ffa67b064764c1a131de526fbfb8be9f62b6e90e /python/tidy/__init__.py | |
parent | a06881611308364f30a51ce887372d45511c9fbc (diff) | |
parent | 81433a8684d078ae629ba24f30f877028e361136 (diff) | |
download | servo-1fb7d45d5ff15dd1df67e6dfc62db813d2e2e948.tar.gz servo-1fb7d45d5ff15dd1df67e6dfc62db813d2e2e948.zip |
Auto merge of #29877 - mrobinson:unegg-tidy, r=jdm
Convert tidy to a non-egg Python package
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.
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #29094.
- [x] These changes fix #29334.
- [x] There are tests for these changes
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'python/tidy/__init__.py')
-rw-r--r-- | python/tidy/__init__.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/python/tidy/__init__.py b/python/tidy/__init__.py new file mode 100644 index 00000000000..74a15acad8f --- /dev/null +++ b/python/tidy/__init__.py @@ -0,0 +1,11 @@ +# Copyright 2013 The Servo Project Developers. See the COPYRIGHT +# file at the top-level directory of this distribution. +# +# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +# <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. + +from .tidy import scan # noqa +from .test import do_tests # noqa |