forked from Chia-Network/chia-blockchain
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mypy.ini
33 lines (31 loc) · 9.26 KB
/
mypy.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[mypy]
files = benchmarks,build_scripts,chinilla,tests,tools,*.py
ignore_missing_imports = True
show_error_codes = True
warn_unused_ignores = True
disallow_any_generics = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
no_implicit_optional = True
warn_return_any = True
no_implicit_reexport = True
strict_equality = True
warn_redundant_casts = True
# list created by: venv/bin/mypy | sed -n 's/.py:.*//p' | sort | uniq | tr '/' '.' | tr '\n' ','
[mypy-benchmarks.block_ref,benchmarks.block_store,benchmarks.coin_store,benchmarks.utils,build_scripts.installer-version,chinilla.cmds.configure,chinilla.cmds.db,chinilla.cmds.db_upgrade_func,chinilla.cmds.farm_funcs,chinilla.cmds.init,chinilla.cmds.init_funcs,chinilla.cmds.keys,chinilla.cmds.keys_funcs,chinilla.cmds.passphrase,chinilla.cmds.passphrase_funcs,chinilla.cmds.plotnft,chinilla.cmds.plotnft_funcs,chinilla.cmds.plots,chinilla.cmds.plotters,chinilla.cmds.show,chinilla.cmds.start_funcs,chinilla.cmds.wallet,chinilla.cmds.wallet_funcs,chinilla.daemon.keychain_server,chinilla.daemon.server,chinilla.farmer.farmer,chinilla.farmer.farmer_api,chinilla.full_node.weight_proof,chinilla.harvester.harvester,chinilla.harvester.harvester_api,chinilla.introducer.introducer,chinilla.introducer.introducer_api,chinilla.plotters.bladebit,chinilla.plotters.chinillapos,chinilla.plotters.madmax,chinilla.plotters.plotters,chinilla.plotters.plotters_util,chinilla.plotting.check_plots,chinilla.plotting.create_plots,chinilla.plotting.manager,chinilla.plotting.util,chinilla.pools.pool_config,chinilla.pools.pool_puzzles,chinilla.pools.pool_wallet,chinilla.pools.pool_wallet_info,chinilla.protocols.pool_protocol,chinilla.rpc.crawler_rpc_api,chinilla.rpc.farmer_rpc_api,chinilla.rpc.farmer_rpc_client,chinilla.rpc.full_node_rpc_api,chinilla.rpc.full_node_rpc_client,chinilla.rpc.harvester_rpc_api,chinilla.rpc.harvester_rpc_client,chinilla.rpc.rpc_client,chinilla.rpc.timelord_rpc_api,chinilla.rpc.util,chinilla.rpc.wallet_rpc_api,chinilla.rpc.wallet_rpc_client,chinilla.seeder.crawler,chinilla.seeder.crawler_api,chinilla.seeder.crawl_store,chinilla.seeder.dns_server,chinilla.seeder.peer_record,chinilla.seeder.start_crawler,chinilla.simulator.full_node_simulator,chinilla.simulator.start_simulator,chinilla.ssl.create_ssl,chinilla.timelord.iters_from_block,chinilla.timelord.timelord,chinilla.timelord.timelord_api,chinilla.timelord.timelord_launcher,chinilla.timelord.timelord_state,chinilla.types.announcement,chinilla.types.blockchain_format.classgroup,chinilla.types.blockchain_format.coin,chinilla.types.blockchain_format.program,chinilla.types.blockchain_format.proof_of_space,chinilla.types.blockchain_format.tree_hash,chinilla.types.blockchain_format.vdf,chinilla.types.full_block,chinilla.types.header_block,chinilla.types.name_puzzle_condition,chinilla.types.spend_bundle,chinilla.types.transaction_queue_entry,chinilla.types.unfinished_block,chinilla.types.unfinished_header_block,chinilla.util.block_cache,chinilla.util.check_fork_next_block,chinilla.util.chinilla_logging,chinilla.util.config,chinilla.util.db_wrapper,chinilla.util.dump_keyring,chinilla.util.files,chinilla.util.hash,chinilla.util.json_util,chinilla.util.keychain,chinilla.util.keyring_wrapper,chinilla.util.log_exceptions,chinilla.util.make_test_constants,chinilla.util.merkle_set,chinilla.util.network,chinilla.util.partial_func,chinilla.util.pip_import,chinilla.util.profiler,chinilla.util.safe_cancel_task,chinilla.util.service_groups,chinilla.util.ssl_check,chinilla.util.validate_alert,chinilla.wallet.block_record,chinilla.wallet.chinillalisp,chinilla.wallet.did_wallet.did_wallet,chinilla.wallet.did_wallet.did_wallet_puzzles,chinilla.wallet.key_val_store,chinilla.wallet.lineage_proof,chinilla.wallet.payment,chinilla.wallet.puzzles.load_clvm,chinilla.wallet.puzzles.p2_conditions,chinilla.wallet.puzzles.p2_delegated_conditions,chinilla.wallet.puzzles.p2_delegated_puzzle,chinilla.wallet.puzzles.p2_delegated_puzzle_or_hidden_puzzle,chinilla.wallet.puzzles.p2_m_of_n_delegate_direct,chinilla.wallet.puzzles.p2_puzzle_hash,chinilla.wallet.puzzles.prefarm.spend_prefarm,chinilla.wallet.puzzles.puzzle_utils,chinilla.wallet.puzzles.singleton_top_layer,chinilla.wallet.puzzles.tails,chinilla.wallet.secret_key_store,chinilla.wallet.settings.user_settings,chinilla.wallet.trade_record,chinilla.wallet.trading.trade_store,chinilla.wallet.transaction_record,chinilla.wallet.util.debug_spend_bundle,chinilla.wallet.util.new_peak_queue,chinilla.wallet.util.wallet_sync_utils,chinilla.wallet.wallet,chinilla.wallet.wallet_blockchain,chinilla.wallet.wallet_coin_store,chinilla.wallet.wallet_interested_store,chinilla.wallet.wallet_node,chinilla.wallet.wallet_node_api,chinilla.wallet.wallet_pool_store,chinilla.wallet.wallet_puzzle_store,chinilla.wallet.wallet_state_manager,chinilla.wallet.wallet_sync_store,chinilla.wallet.wallet_transaction_store,chinilla.wallet.wallet_user_store,chinilla.wallet.wallet_weight_proof_handler,installhelper,tests.blockchain.blockchain_test_utils,tests.blockchain.test_blockchain,tests.blockchain.test_blockchain_transactions,chinilla.simulator.block_tools,tests.build-init-files,tests.build-workflows,tests.clvm.coin_store,tests.clvm.test_chinillalisp_deserialization,tests.clvm.test_clvm_compilation,tests.clvm.test_program,tests.clvm.test_puzzle_compression,tests.clvm.test_puzzles,tests.clvm.test_serialized_program,tests.clvm.test_singletons,tests.clvm.test_spend_sim,tests.conftest,tests.connection_utils,tests.core.cmds.test_keys,tests.core.consensus.test_pot_iterations,tests.core.custom_types.test_coin,tests.core.custom_types.test_proof_of_space,tests.core.custom_types.test_spend_bundle,tests.core.daemon.test_daemon,tests.core.full_node.full_sync.test_full_sync,tests.core.full_node.stores.test_block_store,tests.core.full_node.stores.test_coin_store,tests.core.full_node.stores.test_full_node_store,tests.core.full_node.stores.test_hint_store,tests.core.full_node.stores.test_sync_store,tests.core.full_node.test_address_manager,tests.core.full_node.test_block_height_map,tests.core.full_node.test_conditions,tests.core.full_node.test_full_node,tests.core.mempool.test_mempool,tests.core.mempool.test_mempool_performance,tests.core.full_node.test_node_load,tests.core.full_node.test_peer_store_resolver,tests.core.full_node.test_performance,tests.core.full_node.test_transactions,tests.core.make_block_generator,tests.core.node_height,tests.core.server.test_dos,tests.core.server.test_rate_limits,tests.core.ssl.test_ssl,tests.core.test_cost_calculation,tests.core.test_crawler_rpc,tests.core.test_daemon_rpc,tests.core.test_db_conversion,tests.core.test_db_validation,tests.core.test_farmer_harvester_rpc,tests.core.test_filter,tests.core.test_full_node_rpc,tests.core.test_merkle_set,tests.core.test_setproctitle,tests.core.util.test_cached_bls,tests.core.util.test_config,tests.core.util.test_file_keyring_synchronization,tests.core.util.test_files,tests.core.util.test_keychain,tests.core.util.test_keyring_wrapper,tests.core.util.test_lru_cache,tests.core.util.test_significant_bits,tests.farmer_harvester.test_farmer_harvester,tests.generator.test_compression,tests.generator.test_generator_types,tests.generator.test_list_to_batches,tests.generator.test_rom,tests.generator.test_scan,tests.plotting.test_plot_manager,tests.pools.test_pool_cmdline,tests.pools.test_pool_config,tests.pools.test_pool_puzzles_lifecycle,tests.pools.test_wallet_pool_store,tests.simulation.test_simulation,chinilla.simulator.time_out_assert,tests.tools.test_full_sync,tests.tools.test_run_block,tests.util.alert_server,tests.util.benchmark_cost,tests.util.blockchain,tests.util.build_network_protocol_files,tests.util.db_connection,tests.util.generator_tools_testing,chinilla.simulator.keyring,tests.util.key_tool,tests.util.test_full_block_utils,tests.util.test_lock_queue,tests.util.test_misc,tests.util.test_network,tests.util.test_network_protocol_files,tests.wallet.cat_wallet.test_cat_lifecycle,tests.wallet.cat_wallet.test_cat_wallet,tests.wallet.cat_wallet.test_offer_lifecycle,tests.wallet.cat_wallet.test_trades,tests.wallet.did_wallet.test_did,tests.wallet.did_wallet.test_did_rpc,tests.wallet.did_wallet.test_nft_rpc,tests.wallet.did_wallet.test_nft_wallet,tests.wallet.rpc.test_wallet_rpc,tests.wallet.simple_sync.test_simple_sync_protocol,tests.wallet.sync.test_wallet_sync,tests.wallet.test_bech32m,tests.wallet.test_chinillalisp,tests.wallet.test_puzzle_store,tests.wallet.test_singleton,tests.wallet.test_singleton_lifecycle,tests.wallet.test_singleton_lifecycle_fast,tests.wallet.test_taproot,tests.wallet.test_wallet_blockchain,tests.wallet.test_wallet_interested_store,tests.wallet.test_wallet_key_val_store,tests.wallet.test_wallet_user_store,chinilla.simulator.wallet_tools,tests.weight_proof.test_weight_proof,tools.analyze-chain,tools.run_block,tools.test_full_sync,tests.wallet.nft_wallet.test_nft_wallet,chinilla.wallet.nft_wallet.nft_puzzles,tests.wallet.nft_wallet.test_nft_puzzles]
disable_error_code = annotation-unchecked
disallow_any_generics = False
disallow_subclassing_any = False
disallow_untyped_calls = False
disallow_untyped_defs = False
disallow_incomplete_defs = False
check_untyped_defs = False
disallow_untyped_decorators = False
no_implicit_optional = False
warn_return_any = False
no_implicit_reexport = False
strict_equality = False