TrustedFirmware Git Browser
Code Review
Sign In
review.trustedfirmware.org
/
mirror
/
mbed-tls
/
b51f8841c42864e39b7eba4f7e68c52c751ed26a
/
tests
/
scripts
/
check_names.py
8a83224
Fix typo
by Gilles Peskine
· 3 years, 10 months ago
89458d1
More robust handling of excluded files
by Gilles Peskine
· 3 years, 10 months ago
fc1e9ff
Use Abstract Base Classes to ensure Problem is not instantiated
by Yuto Takano
· 4 years ago
5f83171
Fix listing line number wrongly using start char pos
by Yuto Takano
· 4 years ago
3590691
Fix issues raised by Pylint 2.4.4 on CI
by Yuto Takano
· 4 years ago
4b7d23d
Separate make clean and make lib in check_names
by Yuto Takano
· 4 years ago
704b0f7
Use .span() for positions, and separate line_no argument in Match
by Yuto Takano
· 4 years ago
b1417b4
Use Enums for the enum-parsing state machine
by Yuto Takano
· 4 years ago
5473be2
Use a class variable for `quiet` instead of passing it around
by Yuto Takano
· 4 years ago
6adb287
Move duplicated behaviour in get_files to own function
by Yuto Takano
· 4 years ago
90bc026
Exclusively use re.search() to avoid confusion with .match()
by Yuto Takano
· 4 years ago
9d9c6dc
Align the item counts in check_names for ease of reading
by Yuto Takano
· 4 years ago
8246eb8
Fix English typos in comments of check_names and list-identifiers
by Yuto Takano
· 4 years ago
fb86ac7
Comment Match.__str__ and use format() to simplify calculation
by Yuto Takano
· 4 years ago
206b022
Fix off-by-one error in string formatting in Python
by Yuto Takano
· 4 years ago
55c6c87
Separate code parsing and name checking in two classes
by Yuto Takano
· 4 years ago
5095343
Bring back logging of number of files
by Yuto Takano
· 4 years ago
8e9a219
Improve ease of specifying which files to look in (check_names)
by Yuto Takano
· 4 years ago
f005c33
Change variable name argparser to parser
by Yuto Takano
· 4 years ago
d70d446
Improve code style consistency in check_names.py
by Yuto Takano
· 4 years ago
977e07f
Use glob in get_files(), call setup_logger on init
by Yuto Takano
· 4 years ago
51efcb1
Rename check-names.py to check_names.py
by Yuto Takano
· 4 years ago
[Renamed from tests/scripts/check-names.py]
6fececf
Comment why is used
by Yuto Takano
· 4 years ago
fc54dfb
Move check_repo_path into NameCheck as staticmethod
by Yuto Takano
· 4 years ago
55614b5
Use --quiet to hide explanations and show only minimal necessary info
by Yuto Takano
· 4 years ago
b47b504
Improve comments in parse_mbed_words()
by Yuto Takano
· 4 years ago
12a7ecd
Fix further pylint issues picked up by Travis CI
by Yuto Takano
· 4 years ago
a083d15
Specify file open encoding as utf-8 in check-names
by Yuto Takano
· 4 years ago
381fda8
Print line number next to problem in check-names
by Yuto Takano
· 4 years ago
bcc3d99
Fix compatibiliy with Python 3.5 on the CI
by Yuto Takano
· 4 years ago
d93fa37
Address all pylint issues to follow style
by Yuto Takano
· 4 years ago
9e0e0e9
Fix Pylint-detected function argument syntax error
by Yuto Takano
· 4 years ago
25eeb7b
Output subprocess stdout if it errored
by Yuto Takano
· 4 years ago
cfc9e4a
Change identifier regex to better support multiline declarations
by Yuto Takano
· 4 years ago
8f457cf
Use enumerate() to get line numbers
by Yuto Takano
· 4 years ago
a4e7512
Output line number, line, and position of error
by Yuto Takano
· 4 years ago
159255a
Document dependency on nm
by Yuto Takano
· 4 years ago
13ecd99
Improve regex to adapt to flexible spaces
by Yuto Takano
· 4 years ago
5c1acf2
Match macros with spaces between # and define
by Yuto Takano
· 4 years ago
d24e037
Warn user if files are excluded from search
by Yuto Takano
· 4 years ago
5939a2a
Check environment by verifying other dirs' existence
by Yuto Takano
· 4 years ago
201f9e8
Make use of -v to log some debug information
by Yuto Takano
· 4 years ago
81528c0
Add documentation, fix identifier parsing
by Yuto Takano
· 4 years ago
6f38ab3
Fix legacy troublesome regex
by Yuto Takano
· 4 years ago
fe02684
Python port of f6643ccd90694ae99d05541990b78738a8444ab0
by Yuto Takano
· 4 years ago
0fd48f7
Python port of 7cc4c68eb63a24f9cbf814254cd537df819958e5
by Yuto Takano
· 4 years ago
1722098
Parse identifiers from library headers: Python port of d9eee3b417c2e8f63dd10d835ab9a9472242c2ed
by Yuto Takano
· 4 years ago
56e3a5c
Add test driver symbols: Python port of 7f13fa2454282b21930045a3f4f9a2835d80425e
by Yuto Takano
· 4 years ago
e77f699
Exclude FStar and Hacl: Python port of 9b33e7d7d7426e3d7f27cd7d206765ae33e3e61f
by Yuto Takano
· 4 years ago
062289c
Invoke config.py instead of pl: Python port of 5d46f6a89b25603f0a77466c618213200c328510
by Yuto Takano
· 4 years ago
c62b408
Per-line opt-out of typo check: Python port of b6837761815e1a8f6f475be4575824fc386a08dd
by Yuto Takano
· 4 years ago
e503d61
Remove 1.3 to 2.0 helpers: Python port of 7d48b2821808e964ab594462e419fbed0e015729
by Yuto Takano
· 4 years ago
157444c
Add library header files: Python port of 65a6fa3e2669cb02af5399d0f60b5bed3e62a9be
by Yuto Takano
· 4 years ago
c763cc3
Check for double underscores: Python port of 712f7a804e391737b0e9d2593abe291f4ccb0303
by Yuto Takano
· 4 years ago
fa950ae
Look in 3rdparty: Python port of 8a0f5bb3c11196a5bc0df6393a47e56c40adb7ac
by Yuto Takano
· 4 years ago
bb7dca4
Work with PSA constants: Python port of 03091d1114450dd19a10215094682f14761540d9
by Yuto Takano
· 4 years ago
ed91cf0
Remove Yotta: Python port of 3ad2efdc82a3d15f373b9d12e6764efec3577b55
by Yuto Takano
· 4 years ago
c183893
Also check PSA: Python port of 2d9d6db60f5fd0a4993d90e47f39462647624ad6
by Yuto Takano
· 4 years ago
3963967
Restructure check-names.py with more verbose error messages
by Yuto Takano
· 4 years ago
6c79b5d
Keep compatibility with python versions prior to 3.5
by Darryl Green
· 7 years ago
d580292
Rewrite check-names.sh in python
by Darryl Green
· 7 years ago