Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement PLR6201 with autofix #7973

Merged
merged 5 commits into from
Oct 17, 2023
Merged

Conversation

diceroll123
Copy link
Contributor

Summary

Implements R6201 along with the autofix!

See #970

Test Plan

cargo test, and manually

@github-actions
Copy link
Contributor

github-actions bot commented Oct 16, 2023

PR Check Results

Ecosystem

ℹ️ ecosystem check detected changes. (+212, -1, 0 error(s))

rotki (+212, -1)

- [*] 11 fixable with the `--fix` option (9 hidden fixes can be enabled with the `--unsafe-fixes` option).
+ [*] 222 fixable with the `--fix` option (9 hidden fixes can be enabled with the `--unsafe-fixes` option).
+ package.py:1203:41: PLR6201 [*] Use a `set` literal when testing for membership
+ package.py:1270:22: PLR6201 [*] Use a `set` literal when testing for membership
+ package.py:1275:22: PLR6201 [*] Use a `set` literal when testing for membership
+ package.py:208:29: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/accounting/history_base_entries.py:99:51: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/accounting/pot.py:346:20: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/api/v1/fields.py:109:29: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/api/v1/fields.py:826:30: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/api/v1/resources.py:2031:22: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/api/v1/resources.py:2097:22: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/api/v1/resources.py:2105:22: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/api/v1/schemas.py:1096:52: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/api/v1/schemas.py:1997:39: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/api/v1/schemas.py:2726:36: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/assets/converters.py:916:25: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/assets/utils.py:65:20: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/balances.py:113:35: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/bitcoin/bch/utils.py:82:23: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/bitcoin/hdkey.py:225:23: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/bitcoin/hdkey.py:313:28: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/bitcoin/utils.py:83:45: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/airdrops.py:394:33: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/decoding/decoder.py:191:27: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/defi/zerionsdk.py:163:18: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/defi/zerionsdk.py:166:19: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/aave/aave.py:109:55: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/aave/aave.py:200:39: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/aave/aave.py:202:41: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/aave/common.py:75:18: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/aave/v2/decoder.py:283:44: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/aave/v2/decoder.py:297:40: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/balancer/v1/decoder.py:52:62: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/compound/compound.py:122:55: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/compound/decoder.py:309:40: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/compound/decoder.py:341:44: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/curve/decoder.py:236:43: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/curve/decoder.py:407:40: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/curve/decoder.py:508:40: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/curve/decoder.py:552:44: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/ens/decoder.py:113:40: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/ens/decoder.py:394:44: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/gitcoin/decoder.py:31:50: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/makerdao/cache.py:200:24: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/makerdao/sai/decoder.py:124:32: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/makerdao/sai/decoder.py:389:38: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/makerdao/vaults.py:72:31: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/oneinch/v4/decoder.py:74:36: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/uniswap/v2/common.py:151:33: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/uniswap/v2/common.py:170:30: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/uniswap/v2/common.py:261:32: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/uniswap/v2/common.py:270:32: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/weth/decoder.py:102:34: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/weth/decoder.py:63:34: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/modules/yearn/utils.py:88:32: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/ethereum/oracles/uniswap.py:464:20: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/evm/decoding/cowswap/decoder.py:185:37: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/evm/decoding/cowswap/decoder.py:90:42: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/evm/decoding/gitcoin/decoder.py:218:44: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/evm/decoding/interfaces.py:162:44: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/evm/node_inquirer.py:150:23: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/evm/node_inquirer.py:382:29: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/evm/utils.py:162:16: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/optimism/modules/velodrome/decoder.py:195:40: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/optimism/modules/velodrome/decoder.py:205:40: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/chain/optimism/modules/velodrome/decoder.py:214:44: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/binance.py:220:36: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/binance.py:249:42: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/binance.py:278:40: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/binance.py:488:33: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/binance.py:506:35: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/binance.py:556:35: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/binance.py:567:33: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/bitcoin_tax.py:208:38: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/bitcoin_tax.py:75:26: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/bitmex.py:120:49: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/bitstamp.py:112:33: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/blockfi_transactions.py:106:28: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/blockfi_transactions.py:65:26: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/blockfi_transactions.py:79:28: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/cointracking.py:128:24: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/cointracking.py:131:56: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/cointracking.py:161:26: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/cointracking.py:64:17: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/cryptocom.py:131:26: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/cryptocom.py:137:28: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/cryptocom.py:158:26: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/cryptocom.py:188:26: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/cryptocom.py:256:26: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/cryptocom.py:73:24: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/cryptocom.py:91:28: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/nexo.py:121:28: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/nexo.py:73:26: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/nexo.py:79:26: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/data_import/importers/nexo.py:93:28: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/db/dbhandler.py:1319:28: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/db/dbhandler.py:1381:43: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/db/dbhandler.py:2240:30: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/db/dbhandler.py:2424:59: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/db/dbhandler.py:792:27: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/db/filtering.py:58:29: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/db/history_events.py:437:36: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/db/search_assets.py:76:62: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/db/settings.py:350:21: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/db/upgrades/v36_v37.py:391:80: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/db/upgrades/v38_v39.py:73:25: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/db/upgrades/v39_v40.py:185:38: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/db/upgrades/v39_v40.py:188:40: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/binance.py:1184:70: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/binance.py:313:46: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/binance.py:316:32: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/binance.py:351:44: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/binance.py:380:40: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/bitcoinde.py:182:24: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/bitcoinde.py:224:40: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/bitcoinde.py:81:23: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/bitfinex.py:197:28: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/bitfinex.py:766:24: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/bitfinex.py:768:24: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/bitfinex.py:791:20: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/bitfinex.py:793:20: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/bitmex.py:164:24: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/bitmex.py:205:40: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/bitpanda.py:162:41: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/bitpanda.py:268:30: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/bitstamp.py:704:24: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/bitstamp.py:706:24: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/bitstamp.py:725:20: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/bitstamp.py:727:20: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/coinbase.py:147:20: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/coinbase.py:779:52: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/coinbase.py:858:34: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/gemini.py:184:28: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/iconomi.py:130:24: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/iconomi.py:182:40: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/iconomi.py:335:30: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/independentreserve.py:312:44: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/independentreserve.py:493:60: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/kraken.py:1139:36: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/kraken.py:1187:44: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/kraken.py:130:32: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/kraken.py:289:22: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/kucoin.py:254:40: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/kucoin.py:337:22: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/kucoin.py:395:33: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/kucoin.py:426:42: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/kucoin.py:675:24: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/kucoin.py:702:20: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/exchanges/utils.py:95:24: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/externalapis/etherscan.py:279:34: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/externalapis/etherscan.py:310:35: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/externalapis/etherscan.py:93:46: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/externalapis/opensea.py:209:60: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/externalapis/opensea.py:75:66: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/fval.py:67:60: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/fval.py:71:60: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/inquirer.py:174:19: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/inquirer.py:176:19: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/inquirer.py:180:19: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/inquirer.py:182:19: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/inquirer.py:184:19: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/inquirer.py:393:30: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/rotkehlchen.py:609:30: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/serialization/deserialize.py:322:24: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/serialization/deserialize.py:351:29: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tasks/manager.py:366:41: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_assets.py:343:39: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_assets.py:584:30: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_bitcoin.py:213:36: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_defi.py:31:47: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_eth2.py:892:48: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_eth2.py:894:48: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_ethereum_transactions.py:1217:72: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_ethereum_transactions.py:1244:89: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_exchanges.py:1230:24: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_makerdao_dsr.py:517:41: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_nfts.py:883:32: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_nfts.py:892:36: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_pnl_csv.py:49:39: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_pnl_csv.py:57:35: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_snapshots.py:333:39: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_snapshots.py:358:39: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_sushiswap.py:95:37: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_trades.py:522:21: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_uniswap.py:119:37: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_uniswap.py:261:37: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/api/test_uniswap.py:314:37: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/data_migrations/test_migrations.py:103:35: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/data_migrations/test_migrations.py:106:23: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/db/test_db_upgrades.py:1061:32: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/db/test_db_upgrades.py:1231:21: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/fixtures/websockets.py:21:27: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/unit/test_base_inquirer.py:21:36: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/unit/test_bitcoin.py:418:30: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/unit/test_exchanges.py:93:37: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/unit/test_gnosis_inquirer.py:24:36: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/unit/test_inquirer.py:204:28: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/unit/test_optimism_inquirer.py:22:36: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/unit/test_polygon_pos_inquirer.py:24:36: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/utils/balances.py:13:17: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/utils/exchanges.py:1280:40: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/utils/exchanges.py:1291:55: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/utils/kraken.py:547:31: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/utils/mock.py:288:27: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/utils/premium.py:214:26: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/tests/utils/rotkehlchen.py:157:68: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/types.py:484:20: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/types.py:663:22: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/types.py:665:22: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/types.py:667:22: PLR6201 [*] Use a `set` literal when testing for membership
+ rotkehlchen/types.py:669:22: PLR6201 [*] Use a `set` literal when testing for membership
+ tools/pylint/log_checker.py:15:31: PLR6201 [*] Use a `set` literal when testing for membership

Rules changed: 1
Rule Changes Additions Removals
PLR6201 211 211 0

@charliermarsh charliermarsh added the rule Implementing or modifying a lint rule label Oct 17, 2023
@charliermarsh charliermarsh enabled auto-merge (squash) October 17, 2023 04:07
@charliermarsh charliermarsh merged commit 5da0f91 into astral-sh:main Oct 17, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rule Implementing or modifying a lint rule
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants