Preserve trailing semicolons when using fmt: off#8275
Merged
MichaReiser merged 2 commits intomainfrom Oct 30, 2023
Merged
Conversation
Member
Author
|
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
a958806 to
a202ad9
Compare
konstin
approved these changes
Oct 27, 2023
charliermarsh
approved these changes
Oct 27, 2023
538867c to
44d4cac
Compare
a202ad9 to
b2d8b92
Compare
Contributor
PR Check ResultsEcosystemℹ️ ecosystem check detected format changes. (+12 -9 lines in 7 files in 41 projects) rotki/rotki (+12 -9 lines across 7 files)
ruff format
rotkehlchen/chain/ethereum/defi/protocols.py~L2
This module handles the defi protocol list, stored in DEFI_PROTOCOLS.
"""
+
from typing import NamedTuple
rotkehlchen/chain/ethereum/interfaces/ammswap/ammswap.py~L7 - Uniswap Module
- Sushiswap Module
"""
+
import logging
from collections import defaultdict
from typing import TYPE_CHECKING, Optional, Union
rotkehlchen/globaldb/cache.py~L1 """Functions dealing with the general_cache table of the Global DB"""
+
from collections.abc import Iterable
from typing import Optional, Union
rotkehlchen/tests/exchanges/test_coinbasepro.py~L7 TODO: Make some mock tests at some point
"""
-
import warnings as test_warnings
from enum import Enum
from typing import Literal
tools/assets_database/main.py~L1 """Tool to pull an assets database from Github, and apply updates to it"""
+
from gevent import monkey
monkey.patch_all() # isort:skip
tools/pyinstaller_hooks/pre_find_module_path/hook-distutils.py~L23 the latter is intended for use _only_ from within venvs.
"""
-
import distutils
import os
tools/scripts/pylint_useless_suppression.py~L12
We should probably open bug reports to pylint for all of these at some point.
"""
+
import io
import re
import subprocess |
b2d8b92 to
d47483b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Preserve the semicolons terminating statements when using
fmt: offTest Plan
Added test. Verified that the similarity index is unchanged.