This changeset removes the logging statements in the gunicorn config file to see if that addresses the issue we are seeing.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This changeset undoes the recent changes we tried after the Python 3.13 update as they had no bearing on the SSL cert validation errors. Back to the drawing board!
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This changeset removes a leftover reference to the gds_metrics library, which was taken out previously.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
Flake8 Bugbear checks for some extra things that aren’t code style
errors, but are likely to introduce bugs or unexpected behaviour. A
good example is having mutable default function arguments, which get
shared between every call to the function and therefore mutating a value
in one place can unexpectedly cause it to change in another.
This commit enables all the extra warnings provided by Flake8 Bugbear,
except for the line length one (because we already lint for that
separately).
It disables:
- _B003: Assigning to os.environ_ because I don’t really understand this
- _B306: BaseException.message is removed in Python 3_ because I think
our exceptions have a custom structure that means the `.message`
attribute is still present