From a6778cf7aad566b5a205263988d72132ac39c322 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Mon, 22 May 2023 07:46:02 +0200 Subject: [PATCH] Remove outdated skip & version mention --- docs/types.md | 2 +- tests/test_pyright.py | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/types.md b/docs/types.md index 494693bd9..6ef3e6698 100644 --- a/docs/types.md +++ b/docs/types.md @@ -1,6 +1,6 @@ # Type Annotations -*attrs* comes with first class support for type annotations for both Python 3.6 ({pep}`526`) and legacy syntax. +*attrs* comes with first-class support for type annotations for both {pep}`526` and legacy syntax. However they will forever remain *optional*, therefore the example from the README could also be written as: diff --git a/tests/test_pyright.py b/tests/test_pyright.py index 7fd6698b6..cc5fe8dd8 100644 --- a/tests/test_pyright.py +++ b/tests/test_pyright.py @@ -4,7 +4,6 @@ import os.path import shutil import subprocess -import sys import pytest @@ -12,9 +11,6 @@ pytestmark = [ - pytest.mark.skipif( - sys.version_info < (3, 7), reason="Requires Python 3.7+." - ), pytest.mark.skipif( shutil.which("pyright") is None, reason="Requires pyright." ),