diff options
| author | MarcoFalke <[email protected]> | 2019-09-05 02:42:02 +0200 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2019-09-05 02:43:13 +0200 |
| commit | 45be44cce4fa47f2ae8dc8f951e53297a9220088 (patch) | |
| tree | 9bd5ad73b40fb1587ea35bec9ee7d9968087dbe6 /src/httpserver.h | |
| parent | Merge #16768: test: Make lint-includes.sh work from any directory (diff) | |
| parent | devtools: Accomodate block-style copyright blocks (diff) | |
| download | discoin-45be44cce4fa47f2ae8dc8f951e53297a9220088.tar.xz discoin-45be44cce4fa47f2ae8dc8f951e53297a9220088.zip | |
Merge #15257: Scripts and tools: Bump flake8 to 3.7.8
3d0a82cff8cbb809876e82dbe62d14d2adc07d94 devtools: Accomodate block-style copyright blocks (Ben Woosley)
0ef0e51fe4bb592e67255776b5a0ba04679fb8c4 lint: Bump flake8 to 3.7.8 (Ben Woosley)
838920704ad90a71cf288b700052503db8abb17e lint: Disable flake8 W504 warning (Ben Woosley)
b21680baf5391a602b295b9d7d0ef66553661cb9 test/contrib: Fix invalid escapes in regex strings (Ben Woosley)
Pull request description:
This is a second go at #15221, fixing new lints in:
W504 line break after binary operator
W605 invalid escape sequence
F841 local variable 'e' is assigned to but never used
This time around:
* One commit per rule, for easier review
* I went with the PEP-8 style of breaking before binary operators
* I looked into the raw regex newline issue, and found that raw strings with newlines embedded do work appropriately. E.g. run `re.match(r" \n ", " \n ")` to check this for yourself. `re.MULTILINE` exists to modify `^` and `$` in multiline scenarios, but all of these searches are per-line.
ACKs for top commit:
practicalswift:
ACK 3d0a82cff8cbb809876e82dbe62d14d2adc07d94 -- diff looks correct
Tree-SHA512: bea0c144cadd72e4adf2e9a4b4ee0535dd91a8e694206924cf8a389dc9253f364a717edfe9abda88108fbb67fda19b9e823f46822d7303c0aaa72e48909a6105
Diffstat (limited to 'src/httpserver.h')
0 files changed, 0 insertions, 0 deletions