Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
saerdnaer committed Dec 11, 2024
1 parent f5141cf commit f8e486a
Show file tree
Hide file tree
Showing 6 changed files with 1,009 additions and 556 deletions.
1,548 changes: 999 additions & 549 deletions poetry.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ GitPython = "^3.1.41"
beautifulsoup4 = "^4.12.3"
html5lib = "^1.1"
ics = "^0.7.2"
icalendar = "^5.0.12"

[tool.poetry.dev-dependencies]
flake8 = "^6.0.0"
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ ics
dataclasses
beautifulsoup4
icalendar
optparse
11 changes: 6 additions & 5 deletions validator/json/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@
}
}
},
"keywords" :{
"type":"array",
"keywords": {
"type": "array",
"items": {
"type": "string"
}
Expand All @@ -127,8 +127,8 @@
"type": "string",
"format": "uri"
},
"tracks" :{
"type":"array",
"tracks": {
"type": "array",
"items": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -308,7 +308,8 @@
},
"answers": {
"type": "array",
"items": {}
"items": {},
"$ref": "https://c3voc.de/schedule/submission#/definitions/Answers"
}
},
"required": [
Expand Down
2 changes: 1 addition & 1 deletion validator/submission-json/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -342,4 +342,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion voc/schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def calc_stats(event: Event):

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

Expand Down

0 comments on commit f8e486a

Please sign in to comment.