mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Minor improvements to the Python linter (#12079)
* Mention utils/python_lint.py in docs/ContinuousIntegration.md
* Improve error messages in utils/python_lint.py
* Make python_lint.py fail if required modules are not found
Previously, it returned 0 in such a case, which is considered as a
successful exit.
* Continue returning success when missing modules [python_lint.py]
Reverts ffd3b7832f
This commit is contained in:
committed by
Robert Widmann
parent
58e89b3fff
commit
82d6780383
@@ -8,7 +8,7 @@
|
||||
- [@swift-ci](#swift-ci)
|
||||
- [Smoke Testing](#smoke-testing)
|
||||
- [Validation Testing](#validation-testing)
|
||||
- [Lint Testing](#lint-testing)
|
||||
- [Linting](#linting)
|
||||
- [Specific Preset Testing](#specific-preset-testing)
|
||||
- [Cross Repository Testing](#cross-repository-testing)
|
||||
- [ci.swift.org bots](#ciswiftorg-bots)
|
||||
@@ -28,7 +28,7 @@ Users with [commit access](https://swift.org/contributing/#commit-access) can tr
|
||||
1. Smoke Testing
|
||||
2. Validation Testing
|
||||
3. Benchmarking.
|
||||
4. Lint Testing
|
||||
4. Linting
|
||||
5. Source Compatibility Testing
|
||||
6. Specific Preset Testing
|
||||
|
||||
@@ -121,11 +121,11 @@ Platform | Comment | Check Status
|
||||
macOS platform | @swift-ci Please benchmark | Swift Benchmark on OS X Platform (many runs - rigorous)
|
||||
macOS platform | @swift-ci Please smoke benchmark | Swift Benchmark on OS X Platform (few runs - sanity)
|
||||
|
||||
### Lint Testing
|
||||
### Linting
|
||||
|
||||
Language | Comment | Check Status
|
||||
------------ | ------- | ------------
|
||||
Python | @swift-ci Please Python lint | Python lint
|
||||
Language | Comment | What it Does | Corresponding Local Command
|
||||
------------ | ------- | ------------ | -------------
|
||||
Python | @swift-ci Please Python lint | Lints Python sources | `./utils/python_lint.py`
|
||||
|
||||
### Source Compatibility Testing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user