Skip to content

Commit

Permalink
processors/github_metadata: don't split long lines in YAML output
Browse files Browse the repository at this point in the history
- fixes #103
  • Loading branch information
nodiscc committed Aug 19, 2023
1 parent b5c4d62 commit fcdba2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).

**Fixed:**
- processors/awesome_lint: fix displayed number of days in `older than ... days` for error-level messages
- processors/github_metadata: don't split long lines in YAML output

---------------------

Expand Down
1 change: 1 addition & 0 deletions hecat/processors/github_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

yaml = ruamel.yaml.YAML(typ='rt')
yaml.indent(sequence=4, offset=2)
yaml.width = 99999

class DummyGhMetadata(dict):
"""a dummy metdata object that will be returned when fetching metadata from github API fails"""
Expand Down

0 comments on commit fcdba2b

Please sign in to comment.