Skip to content

Commit

Permalink
Add example for reimported message documentation (#6206)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunungpw committed Apr 6, 2022
1 parent 3fa1699 commit 67af2c0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ repos:
rev: 5.10.1
hooks:
- id: isort
exclude: doc/data/messages/r/reimported/bad.py
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
Expand Down
2 changes: 2 additions & 0 deletions doc/data/messages/r/reimported/bad.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import re
import re # [reimported]
1 change: 1 addition & 0 deletions doc/data/messages/r/reimported/good.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import re

0 comments on commit 67af2c0

Please sign in to comment.