From 68e467ebfb140248652845b401dd89c60c21f9cc Mon Sep 17 00:00:00 2001 From: Peter Law Date: Sat, 16 Sep 2023 17:26:31 +0100 Subject: [PATCH] Ingore invalid module names ruff complains about It doesn't seem to be possible to ignore these on a per-file basis, or at least I couldn't find a spelling which worked. --- helpdesk/pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helpdesk/pyproject.toml b/helpdesk/pyproject.toml index 9e83300..85b3ead 100644 --- a/helpdesk/pyproject.toml +++ b/helpdesk/pyproject.toml @@ -46,6 +46,7 @@ ignore = [ "ANN401", # Dynamically typed expressions (typing.Any) are disallowed "B009", # Do not call `getattr` with a constant attribute value. "S101", # S101 Use of `assert` detected + "N999", # N999 Invalid module name ] -line-length = 120 \ No newline at end of file +line-length = 120