Skip to content

Commit 9d0be4e

Browse files
authored
Merge pull request #5837: Use pylint (via pantsbuild)
2 parents ce6bb2d + 03ebd0a commit 9d0be4e

File tree

40 files changed

+956
-9
lines changed

40 files changed

+956
-9
lines changed

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525
jobs:
2626
# Lint checks which don't depend on any service containes, etc. to be running.
2727
lint-checks:
28-
name: 'Lint Checks (pants runs: shellcheck, bandit, black, flake8)'
28+
name: 'Lint Checks (pants runs: shellcheck, bandit, black, flake8, pylint)'
2929
runs-on: ubuntu-20.04
3030

3131
env:

BUILD

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@ python_requirements(
3535
)
3636

3737
python_test_utils(
38-
name="test_utils0",
38+
name="test_utils",
39+
skip_pylint=True,
3940
)

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Added
1010
* Continue introducing `pants <https://www.pantsbuild.org/docs>`_ to improve DX (Developer Experience)
1111
working on StackStorm, improve our security posture, and improve CI reliability thanks in part
1212
to pants' use of PEX lockfiles. This is not a user-facing addition.
13-
#5778 #5789 #5817 #5795 #5830 #5833 #5834 #5841 #5840 #5838 #5842
13+
#5778 #5789 #5817 #5795 #5830 #5833 #5834 #5841 #5840 #5838 #5842 #5837
1414
Contributed by @cognifloyd
1515

1616

contrib/chatops/tests/BUILD

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
python_tests()
1+
python_tests(
2+
skip_pylint=True,
3+
)

contrib/core/tests/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
python_tests(
2+
skip_pylint=True,
23
overrides={
34
"test_action_sendmail.py": {
45
"dependencies": [

contrib/examples/tests/BUILD

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
python_tests()
1+
python_tests(
2+
skip_pylint=True,
3+
)

contrib/linux/tests/BUILD

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
python_tests()
1+
python_tests(
2+
skip_pylint=True,
3+
)

contrib/packs/tests/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
python_tests(
2+
skip_pylint=True,
23
overrides={
34
"test_action_download.py": {
45
"dependencies": [
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
__defaults__(
2+
all=dict(
3+
skip_pylint=True,
4+
)
5+
)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
__defaults__(
2+
all=dict(
3+
skip_pylint=True,
4+
)
5+
)

0 commit comments

Comments
 (0)