summaryrefslogtreecommitdiff
path: root/tools/ac_converter.py
AgeCommit message (Collapse)Author
2023-12-13Use SPDX-License-Identifier consistentlyDylan Baker
This replaces all of the Apache blurbs at the start of each file with an `# SPDX-License-Identifier: Apache-2.0` string. It also fixes existing uses to be consistent in capitalization, and to be placed above any copyright notices. This removes nearly 3000 lines of boilerplate from the project (only python files), which no developer cares to look at. SPDX is in common use, particularly in the Linux kernel, and is the recommended format for Meson's own `project(license: )` field
2022-04-14ac_converter: use better style for header check iterationEli Schwartz
underscorifying and upper casing the header name is superior to duplicating it.
2021-06-29fix: Always explicitly set encoding for text files (fixes #8263)Daniel Mensinger
2021-03-04mass rewrite of string formatting to use f-strings everywhereEli Schwartz
performed by running "pyupgrade --py36-plus" and committing the results
2019-12-06Update Python2 syntax to Python3 syntax in ghwt.pyMichael Brockus
2019-11-07CI: add initial type annotation checkingMichael Hirsch, Ph.D
2017-07-31Improve ac_converter to print a help message.Jussi Pakkanen
2017-07-16Removed duplicate key in dictionary.Jussi Pakkanen
2017-06-04A few typo fixes in the converter script.Jussi Pakkanen
2017-06-04Added more functions to the list of checks.Jussi Pakkanen
2017-01-01style: fix E124 violationsIgor Gnatenko
E124: closing bracket does not match visual indentation Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-12-31Fix space before :.Jussi Pakkanen
2016-10-07tools/ac_converter: couple of trivial fixes (#867)Igor Gnatenko
W: 31, 4: Duplicate key 'HAVE_UNSETENV' in dictionary (duplicate-key) Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> * tools/ac_converter: fix undefined variable 'func' E:283,11: Undefined variable 'func' (undefined-variable) Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> * tools/ac_converter: use spaces properly in HAVE_SOCKET C: 97, 0: Exactly one space required after comma 'HAVE_SOCKET' : ('socket',' sys/socket.h'), ^ (bad-whitespace) This also might cause some issue after conversion. Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-09-04loop over `sizes'Iain Lane
I ran `ac_converter.py`, and it crashed ``` Traceback (most recent call last): File "ac_converter.py", line 299, in <module> for elem, typename in size: ``` I think it's a typo like this.
2016-08-30Use context manager in scripts.Elliott Sales de Andrade
2016-08-14Use our config template rather than Autoconf's.Jussi Pakkanen
2016-08-13A few more checks for ac converter tool.Jussi Pakkanen
2016-07-28Convert socket checks.Jussi Pakkanen
2015-11-20A few more checks for converter.Jussi Pakkanen
2015-11-12More checks for converter.Jussi Pakkanen
2015-09-04Moved new ac converter from wrap repo and made shebang line use env. Closes ↵Jussi Pakkanen
#256.