-
Notifications
You must be signed in to change notification settings - Fork 10
/
mypy.ini
33 lines (31 loc) · 9.24 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,chia,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,taco.cmds.configure,taco.cmds.db,taco.cmds.db_upgrade_func,taco.cmds.farm_funcs,taco.cmds.init,taco.cmds.init_funcs,taco.cmds.keys,taco.cmds.keys_funcs,taco.cmds.passphrase,taco.cmds.passphrase_funcs,taco.cmds.plotnft,taco.cmds.plotnft_funcs,taco.cmds.plots,taco.cmds.plotters,taco.cmds.show,taco.cmds.start_funcs,taco.cmds.wallet,taco.cmds.wallet_funcs,taco.daemon.keychain_server,taco.daemon.server,taco.farmer.farmer,taco.farmer.farmer_api,taco.full_node.weight_proof,taco.harvester.harvester,taco.harvester.harvester_api,taco.introducer.introducer,taco.introducer.introducer_api,taco.plotters.bladebit,taco.plotters.chiapos,taco.plotters.madmax,taco.plotters.plotters,taco.plotters.plotters_util,taco.plotting.check_plots,taco.plotting.create_plots,taco.plotting.manager,taco.plotting.util,taco.pools.pool_config,taco.pools.pool_puzzles,taco.pools.pool_wallet,taco.pools.pool_wallet_info,taco.protocols.pool_protocol,taco.rpc.crawler_rpc_api,taco.rpc.farmer_rpc_api,taco.rpc.farmer_rpc_client,taco.rpc.full_node_rpc_api,taco.rpc.full_node_rpc_client,taco.rpc.harvester_rpc_api,taco.rpc.harvester_rpc_client,taco.rpc.rpc_client,taco.rpc.timelord_rpc_api,taco.rpc.util,taco.rpc.wallet_rpc_api,taco.rpc.wallet_rpc_client,taco.seeder.crawler,taco.seeder.crawler_api,taco.seeder.crawl_store,taco.seeder.dns_server,taco.seeder.peer_record,taco.seeder.start_crawler,taco.server.address_manager,taco.server.address_manager_store,taco.server.connection_utils,taco.server.introducer_peers,taco.server.node_discovery,taco.server.peer_store_resolver,taco.server.rate_limits,taco.server.reconnect_task,taco.server.server,taco.server.ssl_context,taco.server.start_farmer,taco.server.start_full_node,taco.server.start_harvester,taco.server.start_introducer,taco.server.start_service,taco.server.start_timelord,taco.server.start_wallet,taco.simulator.full_node_simulator,taco.simulator.start_simulator,taco.ssl.create_ssl,taco.timelord.iters_from_block,taco.timelord.timelord,taco.timelord.timelord_api,taco.timelord.timelord_launcher,taco.timelord.timelord_state,taco.types.announcement,taco.types.blockchain_format.classgroup,taco.types.blockchain_format.coin,taco.types.blockchain_format.program,taco.types.blockchain_format.proof_of_space,taco.types.blockchain_format.tree_hash,taco.types.blockchain_format.vdf,taco.types.full_block,taco.types.header_block,taco.types.mempool_item,taco.types.name_puzzle_condition,taco.types.peer_info,taco.types.spend_bundle,taco.types.transaction_queue_entry,taco.types.unfinished_block,taco.types.unfinished_header_block,taco.util.block_cache,taco.util.check_fork_next_block,taco.util.taco_logging,taco.util.config,taco.util.db_wrapper,taco.util.dump_keyring,taco.util.files,taco.util.hash,taco.util.json_util,taco.util.keychain,taco.util.keyring_wrapper,taco.util.log_exceptions,taco.util.make_test_constants,taco.util.merkle_set,taco.util.network,taco.util.partial_func,taco.util.pip_import,taco.util.profiler,taco.util.safe_cancel_task,taco.util.service_groups,taco.util.ssl_check,taco.util.validate_alert,taco.wallet.block_record,taco.wallet.tacolisp,taco.wallet.did_wallet.did_wallet,taco.wallet.did_wallet.did_wallet_puzzles,taco.wallet.key_val_store,taco.wallet.lineage_proof,taco.wallet.payment,taco.wallet.puzzles.load_clvm,taco.wallet.puzzles.p2_conditions,taco.wallet.puzzles.p2_delegated_conditions,taco.wallet.puzzles.p2_delegated_puzzle,taco.wallet.puzzles.p2_delegated_puzzle_or_hidden_puzzle,taco.wallet.puzzles.p2_m_of_n_delegate_direct,taco.wallet.puzzles.p2_puzzle_hash,taco.wallet.puzzles.prefarm.spend_prefarm,taco.wallet.puzzles.puzzle_utils,taco.wallet.puzzles.singleton_top_layer,taco.wallet.puzzles.tails,taco.wallet.secret_key_store,taco.wallet.settings.user_settings,taco.wallet.trade_record,taco.wallet.trading.trade_store,taco.wallet.transaction_record,taco.wallet.util.debug_spend_bundle,taco.wallet.util.new_peak_queue,taco.wallet.util.wallet_sync_utils,taco.wallet.wallet,taco.wallet.wallet_blockchain,taco.wallet.wallet_coin_store,taco.wallet.wallet_interested_store,taco.wallet.wallet_node,taco.wallet.wallet_node_api,taco.wallet.wallet_pool_store,taco.wallet.wallet_puzzle_store,taco.wallet.wallet_state_manager,taco.wallet.wallet_sync_store,taco.wallet.wallet_transaction_store,taco.wallet.wallet_user_store,taco.wallet.wallet_weight_proof_handler,installhelper,tests.blockchain.blockchain_test_utils,tests.blockchain.test_blockchain,tests.blockchain.test_blockchain_transactions,taco.simulator.block_tools,tests.build-init-files,tests.build-workflows,tests.clvm.coin_store,tests.clvm.test_tacolisp_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.full_node.test_mempool,tests.core.full_node.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_pool_rpc,tests.pools.test_wallet_pool_store,taco.simulator.setup_nodes,taco.simulator.setup_services,tests.simulation.test_simulation,taco.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,taco.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_tacolisp,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,taco.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,taco.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