You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just updated to ruff 0.0.122 from ruff 0.0.105 and got a few new errors which should not have been thrown.
This is an example:
update_4="""INSERT INTO assets(identifier, name, type) VALUES("eip155:1/erc20:0xC2FEC534c461c45533e142f724d0e3930650929c", "AKB token", "C");INSERT INTO evm_tokens(identifier, token_kind, chain, address, decimals, protocol) VALUES("eip155:1/erc20:0xC2FEC534c461c45533e142f724d0e3930650929c", "A", 1, "0xC2FEC534c461c45533e142f724d0e3930650929c", 18, NULL);INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("eip155:1/erc20:0xC2FEC534c461c45533e142f724d0e3930650929c", "AKB", NULL, "AIDU", NULL, 123, NULL);*INSERT INTO assets(identifier, name, type) VALUES("121-ada-FADS-as", "A name", "F"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("121-ada-FADS-as", "SYMBOL", "", "", "BTC", NULL, NULL);*UPDATE assets SET name="Ευρώ" WHERE identifier="EUR";INSERT INTO assets(identifier, name, type) VALUES("EUR", "Ευρώ", "A"); INSERT INTO common_asset_details(identifier, symbol, coingecko, cryptocompare, forked, started, swapped_for) VALUES("EUR", "Ευρώ", "EUR", NULL, NULL, NULL, NULL, NULL); """# noqa: E501
We basically split a """ string into multiple lines. And the noqa: E501 at the end should work for the entire string (this is how it works for flake8 also).
While ruff seems to complain about the length of each individual line.
The text was updated successfully, but these errors were encountered:
But I think this is valid, though I would ignore this flag. It's a buggy warning imo. You can have an abstract class without abstract methods which is inherited by yet another class which does have them.
I just updated to
ruff 0.0.122
fromruff 0.0.105
and got a few new errors which should not have been thrown.This is an example:
We basically split a
"""
string into multiple lines. And thenoqa: E501
at the end should work for the entire string (this is how it works for flake8 also).While ruff seems to complain about the length of each individual line.
The text was updated successfully, but these errors were encountered: