Skip to content

Commit

Permalink
Update bedevere/prtype.py
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Turner <[email protected]>
  • Loading branch information
skirpichev and AA-Turner authored Dec 8, 2024
1 parent b3977b4 commit f2c98b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bedevere/prtype.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async def classify_by_filepaths(gh, pull_request, filenames):
if util.is_news_dir(filename):
news = True
filepath = pathlib.PurePath(filename)
if filepath.suffix in [".md", ".rst"] or filepath.name == ".nitignore":
if filepath.suffix in {".md", ".rst"} or filepath.name == ".nitignore":
docs = True
elif filepath.name.startswith(("test_", "_test")):
tests = True
Expand Down

0 comments on commit f2c98b6

Please sign in to comment.