diff options
| author | Lulu <lulu.berlin.2023@gmail.com> | 2024-08-19 21:27:50 +0200 |
|---|---|---|
| committer | Lulu <lulu.berlin.2023@gmail.com> | 2024-08-19 21:27:50 +0200 |
| commit | 2b2db81c059b80cd2d8fa8f26686a7014574bb74 (patch) | |
| tree | 5d90faf736c2d49ad0a41e9b58b72bc1ae289716 /pkgs/development/python-modules/httpserver | |
| parent | cb95b9e7048891fb2b66dd08cce602f71dede438 (diff) | |
Trivial linting
- Autoformat the code with `black` for better readability
- Replace `== True` with `is True`
- Remove redundant parentheses in conditional statements
- Replace `if not x in y:` with `if x not in y:`
- Replace `!= None` with `is not None`
- Use raw string (r"...") with regular expressions to avoid escaping
issues (as recommended in the documentation of the `re` module).
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions
