Ben Woosley
b21680baf5
test/contrib: Fix invalid escapes in regex strings
...
Flagged by flake8 v3.6.0, as W605, plus a few others identified
incidentally, e.g. 59ffecf66cf4d08c4b431e457b083878d66a3fd6.
Note that r"\n" matches to "\n" under re.match/search.
2019-09-03 14:38:38 -04:00
Wladimir J. van der Laan
f6eb85d17c
Merge #13707 : tests: Add usage note to check-rpc-mappings.py
...
03a2d68010
Tests: add usage note to check-rpc-mappings.py (Mason Simon)
Pull request description:
This test would previously fail without a user-friendly warning message, if invoked with no arguments.
Test plan:
```
bitcoin @_@$ python3 test/lint/check-rpc-mappings.py
Usage: test/lint/check-rpc-mappings.py ROOT-DIR
bitcoin @_@$ echo $?
1
bitcoin @_@$ python3 test/lint/check-rpc-mappings.py .
* Checking consistency between dispatch tables and vRPCConvertParams
bitcoin @_@$ echo $?
0
```
Tree-SHA512: 0b7a94125d18ba5dbf3c3281a4af60718d2e495bf7645d7c2a3e1a2a1d80cffcea1383c90247186728037f1f2b38de75d0f59ccf7f792d69edd33884f3698c07
2018-08-25 22:41:33 +02:00
DrahtBot
eb7daf4d60
Update copyright headers to 2018
2018-07-27 07:15:02 -04:00
Mason Simon
03a2d68010
Tests: add usage note to check-rpc-mappings.py
2018-07-19 11:26:21 -07:00
practicalswift
634bd97001
Explicitly specify encoding when opening text files in Python code
2018-06-12 21:34:52 +02:00
MarcoFalke
fa3c910bfe
test: Move linters to test/lint, add readme
2018-05-24 12:02:15 -04:00