Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f8e486a

Browse files
committedDec 11, 2024·
chore: cleanup
1 parent f5141cf commit f8e486a

File tree

6 files changed

+1009
-556
lines changed

6 files changed

+1009
-556
lines changed
 

‎poetry.lock

+999-549
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ GitPython = "^3.1.41"
1717
beautifulsoup4 = "^4.12.3"
1818
html5lib = "^1.1"
1919
ics = "^0.7.2"
20+
icalendar = "^5.0.12"
2021

2122
[tool.poetry.dev-dependencies]
2223
flake8 = "^6.0.0"

‎requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ ics
1212
dataclasses
1313
beautifulsoup4
1414
icalendar
15+
optparse

‎validator/json/schema.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@
116116
}
117117
}
118118
},
119-
"keywords" :{
120-
"type":"array",
119+
"keywords": {
120+
"type": "array",
121121
"items": {
122122
"type": "string"
123123
}
@@ -127,8 +127,8 @@
127127
"type": "string",
128128
"format": "uri"
129129
},
130-
"tracks" :{
131-
"type":"array",
130+
"tracks": {
131+
"type": "array",
132132
"items": {
133133
"type": "object",
134134
"properties": {
@@ -308,7 +308,8 @@
308308
},
309309
"answers": {
310310
"type": "array",
311-
"items": {}
311+
"items": {},
312+
"$ref": "https://c3voc.de/schedule/submission#/definitions/Answers"
312313
}
313314
},
314315
"required": [

‎validator/submission-json/schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -342,4 +342,4 @@
342342
}
343343
}
344344
}
345-
}
345+
}

‎voc/schedule.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def calc_stats(event: Event):
451451

452452
if verbose:
453453
print(f" from {self['conference']['start']} to {self['conference']['end']}")
454-
print( " contains {events_count} events, with local ids from {min_id} to {max_id}".format(**schedule.stats.__dict__)) # noqa
454+
print( " contains {events_count} events, with local ids from {min_id} to {max_id}".format(**self.stats.__dict__)) # noqa
455455
print( " local person ids from {person_min_id} to {person_max_id}".format(**self.stats.__dict__)) # noqa
456456
print(f" rooms: {', '.join(self.rooms())}")
457457

0 commit comments

Comments
 (0)
Please sign in to comment.