We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dbd2db commit a6778cfCopy full SHA for a6778cf
2 files changed
docs/types.md
@@ -1,6 +1,6 @@
1
# Type Annotations
2
3
-*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.
4
5
However they will forever remain *optional*, therefore the example from the README could also be written as:
6
tests/test_pyright.py
@@ -4,17 +4,13 @@
import os.path
import shutil
import subprocess
7
-import sys
8
9
import pytest
10
11
import attrs
12
13
14
pytestmark = [
15
- pytest.mark.skipif(
16
- sys.version_info < (3, 7), reason="Requires Python 3.7+."
17
- ),
18
pytest.mark.skipif(
19
shutil.which("pyright") is None, reason="Requires pyright."
20
),
0 commit comments