Skip to content

Commit f6f72c4

Browse files
matusvalosprytnyk
andauthored
Added misplaced-future message example (#6243)
Co-authored-by: Vladyslav Krylasov <[email protected]>
1 parent 620347a commit f6f72c4

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ repos:
3737
rev: 5.10.1
3838
hooks:
3939
- id: isort
40-
exclude: doc/data/messages/(r/reimported|w/wrong-import-order|u/ungrouped-imports)/bad.py
40+
exclude: doc/data/messages/(r/reimported|w/wrong-import-order|u/ungrouped-imports|m/misplaced-future)/bad.py
4141
- repo: https://github.com/psf/black
4242
rev: 22.3.0
4343
hooks:
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import sys
2+
3+
from __future__ import print_function # [misplaced-future]
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from __future__ import print_function
2+
3+
import sys

0 commit comments

Comments
 (0)