Skip to content

Commit 1d7d57f

Browse files
l0lawrencekristapratico
authored andcommitted
[Pylint] py_version and is_check_enabled edits (Azure#33743)
* py version improvement * conflict * conflict 2 * add py-version to pylintrc --------- Co-authored-by: Krista Pratico <[email protected]>
1 parent 51231ca commit 1d7d57f

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

eng/pylintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[MASTER]
2+
py-version=3.8
23
ignore-patterns=test_*,conftest,setup
34
reports=no
45

eng/tox/run_pylint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
logging.error(
7373
"{} exited with linting error {}. Please see this link for more information https://aka.ms/azsdk/python/pylint-guide".format(pkg_details.name, e.returncode)
7474
)
75-
if args.next and in_ci() and is_check_enabled(args.target_package, "pylint"):
75+
if args.next and in_ci():
7676
from gh_tools.vnext_issue_creator import create_vnext_issue
7777
create_vnext_issue(pkg_details.name, "pylint")
7878

eng/tox/tox.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ commands =
7777

7878
[testenv:pylint]
7979
description=Lints a package with pylint (version {[testenv:pylint]pylint_version})
80-
basepython = python38
8180
pylint_version=2.15.8
8281
skipsdist = true
8382
skip_install = true
@@ -102,7 +101,6 @@ commands =
102101

103102
[testenv:next-pylint]
104103
description=Lints a package with pylint (version {[testenv:next-pylint]pylint_version})
105-
basepython = python38
106104
pylint_version=3.0.3
107105
skipsdist = true
108106
skip_install = true

pylintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[MASTER]
2+
py-version=3.8
23
ignore-patterns=test_*,conftest,setup
34
reports=no
45

0 commit comments

Comments
 (0)