Ignore EOF blank line check
This commit is contained in:
+4
-1
@@ -23,7 +23,10 @@ ignore = [
|
||||
# so trailing-whitespace warnings fire mechanically on almost every line
|
||||
# with a number in it -- not something `ruff format` could fix anyway,
|
||||
# since it wouldn't change the .sage source that generated it.
|
||||
"*.sage.py" = ["F403", "F405", "F821", "E741", "E402", "E702", "I001", "W291", "W293"]
|
||||
# - W292: whether the reconstructed file ends in a real trailing newline
|
||||
# depends on how many blank lines the preparser appends, which varies by
|
||||
# Sage version -- not something worth pinning tool versions over.
|
||||
"*.sage.py" = ["F403", "F405", "F821", "E741", "E402", "E702", "I001", "W291", "W293", "W292"]
|
||||
|
||||
# tests/test_smoke.py does `from sage.all import *` and `load(...)` a .sage
|
||||
# file to get at its classes -- the same dynamic-namespace situation as
|
||||
|
||||
Reference in New Issue
Block a user