Wolfgang Stöggl
f037e7ef45
Fix typos found by codespell
...
- Typos were found by codespell v1.16.0
5 years ago
John Ericson
af2d7af998
Per machine do 'build.' and '' option prefixes
...
See the docs/ changes for details.
6 years ago
Daniel Mensinger
94c6da33a7
rewriter: Fix that default_options would not set the correct id
...
Currently default_options uses "" for the kwarks id, however this
is incorect and it must be "/". Additionally, this error won't be
ignored in the future with "--skip" (this is why the tests were
passing and this wasn't detected earlier).
6 years ago
Dylan Baker
8e1670cc60
rewriter: optimize the list_to_dict function
...
This uses an iterator instead of walking a list, which is roughly twice
as fast. This also does away with the pre-check on whether the list is
valid for converting to a dict, and instead handles the case of an
uneven number by catching another exception. This is preferable since
it's a fatal error anyway, so avoiding it in the non-fatal case is
preferable.
6 years ago
Daniel Mensinger
bffd28d4b2
rewriter: fix error message
6 years ago
Daniel Mensinger
5f6b94ccb9
rewriter: Renamed _src -> _sources
6 years ago
Daniel Mensinger
617445ea72
rewriter: Make sure variable names are valid
6 years ago
Daniel Mensinger
594bf678c7
rewriter: Require '/' for the project ID
6 years ago
Daniel Mensinger
609a21ff9f
rewriter: Abort on error by default
6 years ago
Daniel Mensinger
c957a2aa94
rewriter: Changed line sort key
6 years ago
Daniel Mensinger
5d2f14fce7
rewriter: Quiet logging by default
6 years ago
Daniel Mensinger
06695fec60
rewriter: type definition code fix
6 years ago
Daniel Mensinger
e724fd5438
rewriter: Handle duplicate target
6 years ago
Daniel Mensinger
b55dbf0fae
rewriter: Dump JSON to stderr instead of stdout
6 years ago
Daniel Mensinger
90b557e38a
rewriter: Remove command alias
6 years ago
Daniel Mensinger
1290330894
rewriter: Renamed tgt_{add,rm} --> target_{add,rm}
6 years ago
Daniel Mensinger
eabc35340d
rewriter: Enforce an empty project ID string
6 years ago
Daniel Mensinger
8fad06e8c8
rewriter: Removed python 3.7 feature required=False
6 years ago
Daniel Mensinger
740f6b8f06
rewriter: Implemented a CLI
6 years ago
Daniel Mensinger
e72f535fc8
rewriter: Removed debug printing
6 years ago
Daniel Mensinger
0fd4dce906
rewriter: Type annotation cleanup
6 years ago
Daniel Mensinger
2582f311b0
rewriter: Make sure target sources are relative
6 years ago
Daniel Mensinger
760d1bff9c
rewriter: Sort source files ( #5010 )
...
* rewriter: Sort source files
* rewriter: Natural sorting
* rewriter: Fix flake8
* rewriter: Fixed sorting
* rewriter: Make sorting key more readable
* rewriter: Even simpler key
6 years ago
Daniel Mensinger
f9b41d5ecb
mintro: Dependencies from source
6 years ago
Daniel Mensinger
5a22bb7901
rewriter: Use mparser to detect the end of some nodes
6 years ago
Daniel Mensinger
7199cd2095
rewriter: Avoid duplicates
6 years ago
Daniel Mensinger
94fe01deec
rewriter: Sort dict iterations to fix unit tests
6 years ago
Daniel Mensinger
9e247cb52e
rewriter: Set and delete default options
6 years ago
Daniel Mensinger
74bb79e26e
rewriter: Remove matching regex from list
6 years ago
Daniel Mensinger
e37d32aa9d
rewriter: Basic default_options support
6 years ago
Daniel Mensinger
4b7b5a7185
Fixed flake8
6 years ago
Daniel Mensinger
631dbc4b24
Fixed indentation
6 years ago
Daniel Mensinger
5184465280
rewriter: Added support for adding targets
6 years ago
Daniel Mensinger
056c533ede
rewriter: Added support for removing targets
6 years ago
Daniel Mensinger
24a2cf02e2
Can now find the assignment node of a value
6 years ago
Daniel Mensinger
0ce02b57d7
Renamed type classes
6 years ago
Daniel Mensinger
8c364952af
Added dependecy kwargs support
6 years ago
Daniel Mensinger
5655865246
Added test case
6 years ago
Daniel Mensinger
c64d80cf2f
Renamed operation test -> info
6 years ago
Daniel Mensinger
8bb942ef25
Rewriter infodump modifications
6 years ago
Daniel Mensinger
be3c58d638
Modify kwargs in rewriter
6 years ago
Daniel Mensinger
8224ecfbe6
Some fixes and assignment based target find
6 years ago
Daniel Mensinger
dbb94f122d
Fixed style issues
6 years ago
Daniel Mensinger
6fe2c2b209
Fixed flake8 issues
6 years ago
Daniel Mensinger
b7c6f3ec72
Can now rewrite files
6 years ago
Daniel Mensinger
8dd9b44831
Added support for removing sources from a target
6 years ago
Daniel Mensinger
0ce6632393
Added suport for adding sources to a target
6 years ago
Daniel Mensinger
86d5799bc4
First rewriter test case
6 years ago
Daniel Mensinger
277dc10a5d
AST post processing
6 years ago
Daniel Mensinger
750af9c853
Moved the introspection interpreter
6 years ago