File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 11# Type Annotations
22
3- * attrs* comes with first class support for type annotations for both Python 3.6 ( {pep}` 526 ` ) and legacy syntax.
3+ * attrs* comes with first- class support for type annotations for both {pep}` 526 ` and legacy syntax.
44
55However they will forever remain * optional* , therefore the example from the README could also be written as:
66
Original file line number Diff line number Diff line change 44import os .path
55import shutil
66import subprocess
7- import sys
87
98import pytest
109
1110import attrs
1211
1312
1413pytestmark = [
15- pytest .mark .skipif (
16- sys .version_info < (3 , 7 ), reason = "Requires Python 3.7+."
17- ),
1814 pytest .mark .skipif (
1915 shutil .which ("pyright" ) is None , reason = "Requires pyright."
2016 ),
You can’t perform that action at this time.
0 commit comments