format using black

This commit is contained in:
flowrolltide 2024-05-26 21:39:14 -04:00
parent 76536cd79e
commit dafcdc8e9e
1 changed files with 16 additions and 16 deletions

View File

@ -189,7 +189,7 @@ class EntryWithDate(RenderCVBaseModel):
title="Date", title="Date",
description=( description=(
"The date field can be filled in YYYY-MM-DD, YYYY-MM, or YYYY formats or as" "The date field can be filled in YYYY-MM-DD, YYYY-MM, or YYYY formats or as"
" an arbitrary string like \"Fall 2023\"." ' an arbitrary string like "Fall 2023".'
), ),
examples=["2020-09-24", "Fall 2023"], examples=["2020-09-24", "Fall 2023"],
) )
@ -322,7 +322,7 @@ class EntryBase(EntryWithDate):
title="End Date", title="End Date",
description=( description=(
"The end date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format. If the" "The end date of the event in YYYY-MM-DD, YYYY-MM, or YYYY format. If the"
" event is still ongoing, then type \"present\" or provide only the" ' event is still ongoing, then type "present" or provide only the'
" start_date." " start_date."
), ),
examples=["2020-09-24", "present"], examples=["2020-09-24", "present"],
@ -786,8 +786,8 @@ def validate_section_input(
if entry_type is None or section_type is None: if entry_type is None or section_type is None:
raise ValueError( raise ValueError(
"RenderCV couldn't match this section with any entry types! Please check" "RenderCV couldn't match this section with any entry types! Please"
" the entries and make sure they are provided correctly.", " check the entries and make sure they are provided correctly.",
"", # This is the location of the error "", # This is the location of the error
"", # This is value of the error "", # This is value of the error
) )
@ -1432,9 +1432,9 @@ def get_a_sample_data_model(
"welcome_to_rendercv!": [ "welcome_to_rendercv!": [
( (
"[RenderCV](https://github.com/sinaatalay/rendercv) is a LaTeX-based" "[RenderCV](https://github.com/sinaatalay/rendercv) is a LaTeX-based"
" CV/resume framework. It allows you to create a high-quality CV or resume" " CV/resume framework. It allows you to create a high-quality CV or"
" as a PDF file from a YAML file, with **full Markdown syntax support** and" " resume as a PDF file from a YAML file, with **full Markdown syntax"
" **complete control over the LaTeX code**." " support** and **complete control over the LaTeX code**."
), ),
( (
"The boilerplate content is taken from" "The boilerplate content is taken from"
@ -1545,8 +1545,8 @@ def get_a_sample_data_model(
), ),
"Programmer Productivity Research Center (Summers 2001, 2002)", "Programmer Productivity Research Center (Summers 2001, 2002)",
( (
"Built an app to compute the similarity of all methods in a code" "Built an app to compute the similarity of all methods in a"
" base, reducing the time from $\\mathcal{O}(n^2)$ to" " code base, reducing the time from $\\mathcal{O}(n^2)$ to"
" $\\mathcal{O}(n \\log n)$" " $\\mathcal{O}(n \\log n)$"
), ),
( (
@ -1583,12 +1583,12 @@ def get_a_sample_data_model(
"projects": [ "projects": [
NormalEntry( NormalEntry(
name="Multi-User Drawing Tool", name="Multi-User Drawing Tool",
date="2004", # I would omit start/end dates and replace with a project link as the date is largely irrelevant date="2004", # I would omit start/end dates and replace with a project link as the date is largely irrelevant
#project_link = "github.com/username/repo" # project_link = "github.com/username/repo"
highlights=[ highlights=[
( (
"Developed an electronic classroom where multiple users can" "Developed an electronic classroom where multiple users can"
" view and simultaneously draw on a \"chalkboard\" with each" ' view and simultaneously draw on a "chalkboard" with each'
" person's edits synchronized" " person's edits synchronized"
), ),
"Tools Used: C++, MFC", "Tools Used: C++, MFC",
@ -1597,8 +1597,8 @@ def get_a_sample_data_model(
NormalEntry( NormalEntry(
name="Synchronized Calendar", name="Synchronized Calendar",
start_date="2003", start_date="2003",
end_date="2004", end_date="2004",
#project_link = "github.com/username/repo", # project_link = "github.com/username/repo",
highlights=[ highlights=[
( (
"Developed a desktop calendar with globally shared and" "Developed a desktop calendar with globally shared and"
@ -1610,8 +1610,8 @@ def get_a_sample_data_model(
), ),
NormalEntry( NormalEntry(
name="Operating System", name="Operating System",
date="2002", # would replace project dates with a project link as the date is largely irrelevant date="2002", # would replace project dates with a project link as the date is largely irrelevant
#project_link = "github.com/username/repo", # project_link = "github.com/username/repo",
highlights=[ highlights=[
( (
"Developed a UNIX-style OS with a scheduler, file system, text" "Developed a UNIX-style OS with a scheduler, file system, text"