Skip to content

Commit 4976d7c

Browse files
Remove min_pyver=3.9
1 parent 7a089b5 commit 4976d7c

37 files changed

+30
-148
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
[testoptions]
2-
min_pyver=3.9
32
max_pyver=3.10
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
[testoptions]
2-
min_pyver=3.9
32
max_pyver=3.10

tests/functional/d/deprecated/deprecated_module_py39_earlier_pyversion.rc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
py-version=3.8
33

44
[testoptions]
5-
min_pyver=3.9
65
max_pyver=3.10
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
[main]
22
py-version=3.9
33
load-plugins=pylint.extensions.typing
4-
5-
[testoptions]
6-
min_pyver=3.9
7-
8-
[typing]

tests/functional/g/generic_alias/generic_alias_collections.rc

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/functional/g/generic_alias/generic_alias_mixed_py39.rc

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/functional/g/generic_alias/generic_alias_related_py39.rc

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/functional/m/method_cache_max_size_none_py39.py

Lines changed: 0 additions & 47 deletions
This file was deleted.

tests/functional/m/method_cache_max_size_none_py39.rc

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/functional/m/method_cache_max_size_none_py39.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

tests/functional/m/method_hidden.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,9 @@ def __init__(self):
134134
class ChildTwo(ParentTwo):
135135
def __private(self):
136136
pass
137+
138+
139+
class ChildHidingAncestorAttribute(Parent):
140+
@functools().cached_property
141+
def _protected(self):
142+
pass

tests/functional/m/method_hidden_py39.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

tests/functional/m/method_hidden_py39.rc

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/functional/n/nested_min_max_py39.rc

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/functional/n/non_ascii_name/non_ascii_name_decorator.rc

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/functional/n/non_ascii_name/non_ascii_name_function_argument_py39plus.rc

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/functional/n/non_ascii_name/non_ascii_name_kwargs_py39plus.rc

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/functional/p/postponed/postponed_evaluation_pep585_py39.rc

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
[testoptions]
2-
min_pyver=3.9
32
except_implementations=PyPy

tests/functional/u/unnecessary/unnecessary_dunder_call_py39.rc

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/functional/u/unused/unused_import.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ class SomeClass:
3939
import xml
4040

4141

42+
example: t.Annotated[str, "Path"] = "/foo/bar"
43+
4244
def get_ordered_dict() -> "collections.OrderedDict":
4345
return []
4446

tests/functional/u/unused/unused_import.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ unused-import:11:0:11:51::Unused OrderedDict imported from collections:UNDEFINED
77
unused-import:11:0:11:51::Unused deque imported from collections:UNDEFINED
88
unused-import:12:0:12:22::Unused import re:UNDEFINED
99
unused-import:17:0:17:40::Unused SomeOtherName imported from fake:UNDEFINED
10-
unused-import:54:0:54:9::Unused import os:UNDEFINED
11-
unused-import:89:4:89:19::Unused import unittest:UNDEFINED
12-
unused-import:91:4:91:15::Unused import uuid:UNDEFINED
13-
unused-import:93:4:93:19::Unused import warnings:UNDEFINED
14-
unused-import:95:4:95:21::Unused import compileall:UNDEFINED
10+
unused-import:56:0:56:9::Unused import os:UNDEFINED
11+
unused-import:91:4:91:19::Unused import unittest:UNDEFINED
12+
unused-import:93:4:93:15::Unused import uuid:UNDEFINED
13+
unused-import:95:4:95:19::Unused import warnings:UNDEFINED
14+
unused-import:97:4:97:21::Unused import compileall:UNDEFINED

tests/functional/u/unused/unused_import_py39.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

tests/functional/u/unused/unused_import_py39.rc

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/functional/u/unused/unused_import_py39.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/functional/u/unused/unused_name_in_string_literal_type_annotation_py39.rc

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/functional/u/used/used_before_assignment.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# pylint: disable=consider-using-f-string, missing-function-docstring
33
import datetime
44
import sys
5-
# from typing import NoReturn # uncomment when we reunite with used_before_assignment_py38.py
5+
from typing import NoReturn
66

77
MSG = "hello %s" % MSG # [used-before-assignment]
88

@@ -206,3 +206,19 @@ def inner_if_continues_outer_if_has_no_other_statements():
206206
else:
207207
order = None
208208
print(order)
209+
210+
211+
class PlatformChecks: # pylint: disable=missing-docstring
212+
"""https://github.com/pylint-dev/pylint/issues/9674"""
213+
def skip(self, msg) -> NoReturn:
214+
raise Exception(msg) # pylint: disable=broad-exception-raised
215+
216+
def print_platform_specific_command(self):
217+
if sys.platform == "linux":
218+
cmd = "ls"
219+
elif sys.platform == "win32":
220+
cmd = "dir"
221+
else:
222+
self.skip("only runs on Linux/Windows")
223+
224+
print(cmd)

tests/functional/u/used/used_before_assignment_py38.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

tests/functional/u/used/used_before_assignment_py38.rc

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)