Viktor Szakats
7e1c6be12f
checksrc: sync with curl
...
Check spaces around logical AND operator.
Closes #1474
2024-10-21 23:34:23 +02:00
Viktor Szakats
1117b677a0
checksrc: update, check all sources, fix fallouts
...
update from curl:
cff75acfec/scripts/checksrc.pl
Closes #1457
2024-09-28 11:41:52 +02:00
Viktor Szakats
8cd473c930
checksrc: sync with curl
...
Closes #1272
2023-12-06 01:13:15 +00:00
Viktor Szakats
a95d401f1f
checksrc: fix spelling in comment [ci skip]
2023-08-20 00:24:59 +00:00
Viktor Szakats
3d309f9b8d
checksrc: modernise perl file open
...
Use regular variables and separate file open modes from filenames.
Suggested by perlcritic
Copied from 7f669aa0f1
Copied from https://github.com/curl/trurl/commit/f2784a9240f47ee28a845
2023-06-23 16:30:41 +00:00
Viktor Szakats
1c9323416c
checksrc: verify label indent, fix fallouts
...
Also update two labels to match the rest of the source.
checksrc update credit: Emanuele Torre @emanuele6
Ref: https://github.com/curl/curl/pull/11134
Closes #1042
2023-05-18 14:07:01 +00:00
Viktor Szakats
d964289e54
checksrc: sync with curl
...
There were no new issues detected.
Cherry-picked from #1017
2023-05-03 01:35:16 +00:00
Viktor Szakats
ccac522260
checksrc: update and apply fixes
...
Update to latest revision and fix new issues detected.
Closes #1014
2023-04-28 14:19:48 +00:00
Viktor Szakats
4b800182c5
checksrc: update and fix warnings ( #890 )
...
Update from:
5fec927374/scripts/checksrc.pl
- suppress these new checks:
- EQUALSNULL: 320 warnings
- NOTEQUALSZERO: 142 warnings
- TYPEDEFSTRUCT: 16 warnings
We can enabled them in the future.
- fix all other new ones.
- also fix whitespace in two `NMakefile` files.
2023-03-28 09:37:46 +02:00
Viktor Szakats
1d9af00609
tidy-up: fix typos ( #886 )
...
detected by codespell 2.2.4.
2023-03-27 19:26:58 +02:00
Etienne Samson
1adb24fd07
Add a LINT option to CMake ( #372 )
...
* ci: make style-checking available locally
* cmake: add a linting target
* tests: check test suite syntax with checksrc.pl
2021-02-02 10:28:28 -08:00