Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DEV] Fixed trailing whitespace lint issue in article.py #56

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions article.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def save_raw(self):
indent=4,
ensure_ascii=False,
separators=(',', ': '))

@staticmethod
def from_meta_json(json_path: str):
"""
Expand Down Expand Up @@ -94,13 +94,13 @@ def _get_meta(self):
'author': self.author,
'topics': self.topics
}

def _date_to_text(self):
"""
Converts datetime object to text
"""
return self.date.strftime("%Y-%m-%d %H:%M:%S")

def _get_raw_text_path(self):
"""
Returns path for requested raw article
Expand Down