| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
$ pyupgrade --py36-plus $(<filelist)
Here's mostly what it's done:
- No more 'stringliteral'.encode('utf-8'): now b'stringliteral'
- No more unicode literals
- the default open mode is 'r', leaves out if default
- some f-string conversions (if shorter)
- catch OSError instead of subclasses
- no more mention of "object"
- generator expression instead of list comp. when safe
- a few tests had a shebang but actually began with blank line
- remove coding: utf-8 comment, per pep 3120 this is the default now
Manually - if a file in test/ was modified, then did the copyright
header conversion.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|
|
|
|
|
|
| |
defaulted to md5.
Dir search now excludes all types of sconsfiles that are now created.
Environment now defaults to the current scons filename instead of .sconsfile
Sconsign now has a function used by a lot of code that gets the default sconsign filename
Any tests referring to .sconsfile have now been changed, including one old legacy test.
|
| |
|
|
|
|
|
|
|
|
| |
needs_execut method set as an abstract method, meaning you can't
instantiate Task itself, and derived classes must implement the
methid. The former warning framework for this (deprecated) is
disabled, and some unit tests that were not implementing needs_execute
were fixed - by deriving from the AlwaysTask class.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|
|
|
|
|
|
|
| |
left a pasted traceback in the SourceCode.py test, got rid of.
applied "standard" speedup of dropping tools in DefaultEnvironmment
and Environment, speeds up windows a lot (individual Removed
tests running in 1 sec instead of 15)
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|
|
|
|
| |
unused imports in a pair of tests that were moved and
thus "touched".
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|
|
|
|
| |
The re.DOTALL match function somehow wasn't matching the SConstruct
error path, so build it up from known information instead.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
These two have been deprecated since 2010 (about SCons 2.0), commit
935e6985. Methods are removed, setoption for setting them removed, doc is
removed, tests are migrated to test/Removed/*/Old with a sconstest.skip
file so they don't run, and two new tests are added to confirm that
using the functions and setoptions generate exceptions.
Signed-off-by: Mats Wichmann <mats@linux.com>
|