mirror of
https://github.com/rendercv/rendercv.git
synced 2025-12-23 21:47:55 -05:00
fix formatting
This commit is contained in:
@@ -388,7 +388,9 @@ class EntryBase(EntryWithDate):
|
||||
|
||||
Example:
|
||||
```python
|
||||
entry = dm.EntryBase(start_date="2020-10-11", end_date="2021-04-04").date_string
|
||||
entry = dm.EntryBase(
|
||||
start_date="2020-10-11", end_date="2021-04-04"
|
||||
).date_string
|
||||
```
|
||||
returns
|
||||
`"Nov 2020 to Apr 2021"`
|
||||
|
||||
@@ -141,12 +141,12 @@ def test_if_the_schema_is_the_latest(root_directory_path):
|
||||
original_schema_file_path = root_directory_path / "schema.json"
|
||||
original_schema_text = original_schema_file_path.read_text()
|
||||
original_schema = json.loads(original_schema_text)
|
||||
original_schema["$defs"]["RenderCVSettings"]["properties"]["date"][
|
||||
"default"
|
||||
] = Date.today().isoformat()
|
||||
original_schema["properties"]["rendercv_settings"]["default"][
|
||||
"date"
|
||||
] = Date.today().isoformat()
|
||||
original_schema["$defs"]["RenderCVSettings"]["properties"]["date"]["default"] = (
|
||||
Date.today().isoformat()
|
||||
)
|
||||
original_schema["properties"]["rendercv_settings"]["default"]["date"] = (
|
||||
Date.today().isoformat()
|
||||
)
|
||||
|
||||
new_schema = data.generate_json_schema()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user