Skip to content

Commit

Permalink
revert: 'chore: exclude more chars'
Browse files Browse the repository at this point in the history
  • Loading branch information
iamogbz committed Nov 13, 2020
1 parent 5d2b9ca commit 530804a
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/syrupy/extensions/single_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@ def _write_snapshot_fossil(self, *, snapshot_fossil: "SnapshotFossil") -> None:
f.write(data)

def __clean_filename(self, filename: str) -> str:
filename = str(filename).strip().replace(" ", "_")
max_filename_length = 255 - len(self._file_extension or "")
exclude_chars = '\\/?%*:|"<>,;='
exclude_chars = '\\/?*:|"<>'
exclude_categ = ("C",)
cleaned_filename = "".join(
c
Expand Down

0 comments on commit 530804a

Please sign in to comment.