From 8d4d8e58683173fc9b452f9f3a8d764785ba1b36 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Mon, 5 Dec 2022 14:46:10 -0800 Subject: [PATCH] sage.rings.finite_rings: Make it a namespace package --- src/.relint.yml | 2 +- src/sage/rings/finite_rings/__init__.py | 0 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 src/sage/rings/finite_rings/__init__.py diff --git a/src/.relint.yml b/src/.relint.yml index abadae0de28..d1534abfdd2 100644 --- a/src/.relint.yml +++ b/src/.relint.yml @@ -47,6 +47,6 @@ hint: | Sage library code should not import from sage.PAC.KAGE.all when sage.PAC.KAGE is an implicit Hint: namespace package. Type import_statements("SOME_IDENTIFIER") to find a more specific import. - pattern: 'from\s+sage(|[.](arith|categories|combinat|ext|graphs(|[.]decompositions)|interfaces|libs|matrix|misc|numerical(|[.]backends)|rings|sets))[.]all\s+import' + pattern: 'from\s+sage(|[.](arith|categories|combinat|ext|graphs(|[.]decompositions)|interfaces|libs|matrix|misc|numerical(|[.]backends)|rings(|[.]finite_rings)|sets))[.]all\s+import' filePattern: '.*[.](py|pyx|pxi)$' error: false # Make this a warning instead of an error for now diff --git a/src/sage/rings/finite_rings/__init__.py b/src/sage/rings/finite_rings/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000