Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit 3320e6e

Browse files
author
Release Manager
committed
Trac #33240: Demote linter errors about importing from "all" to warnings for now
The linter test about importing from "all" currently fails for all tickets, thus hiding new linting issues introduced in any ticket. Until these imports are fixed, demote the error to a warning. URL: https://trac.sagemath.org/33240 Reported by: gh-tobiasdiez Ticket author(s): Tobias Diez Reviewer(s): Frédéric Chapoton
2 parents 4fc017f + e7f3ed8 commit 3320e6e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/.relint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,4 @@
4949
Hint: namespace package. Type import_statements("SOME_IDENTIFIER") to find a more specific import.
5050
pattern: 'from\s+sage[.](categories|misc|rings|combinat|graphs|interfaces|libs)[.]all\s+import'
5151
filePattern: '.*[.](py|pyx)$'
52+
error: false # Make this a warning instead of an error for now

src/sage/rings/integer.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7249,7 +7249,7 @@ def _check_global_dummy_Integer():
72497249
"""
72507250
Return true if the global dummy Integer is ok.
72517251
7252-
TEST::
7252+
TESTS::
72537253
72547254
sage: from sage.rings.integer import _check_global_dummy_Integer
72557255
sage: _check_global_dummy_Integer()

0 commit comments

Comments
 (0)