forked from STATION-I/stai-blockchain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mypy.ini
31 lines (29 loc) · 10.2 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
[mypy]
files = benchmarks,build_scripts,stai,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
# 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,stai.clvm.spend_sim,stai.cmds.configure,stai.cmds.db,stai.cmds.db_upgrade_func,stai.cmds.farm_funcs,stai.cmds.init,stai.cmds.init_funcs,stai.cmds.keys,stai.cmds.keys_funcs,stai.cmds.passphrase,stai.cmds.passphrase_funcs,stai.cmds.plotnft,stai.cmds.plotnft_funcs,stai.cmds.plots,stai.cmds.plotters,stai.cmds.show,stai.cmds.start_funcs,stai.cmds.wallet,stai.cmds.wallet_funcs,stai.daemon.client,stai.daemon.keychain_proxy,stai.daemon.keychain_server,stai.daemon.server,stai.farmer.farmer,stai.farmer.farmer_api,stai.full_node.block_height_map,stai.full_node.block_store,stai.full_node.bundle_tools,stai.full_node.coin_store,stai.full_node.full_node,stai.full_node.full_node_api,stai.full_node.full_node_store,stai.full_node.generator,stai.full_node.hint_store,stai.full_node.lock_queue,stai.full_node.mempool,stai.full_node.mempool_check_conditions,stai.full_node.mempool_manager,stai.full_node.pending_tx_cache,stai.full_node.sync_store,stai.full_node.weight_proof,stai.harvester.harvester,stai.harvester.harvester_api,stai.introducer.introducer,stai.introducer.introducer_api,stai.plotters.bladebit,stai.plotters.chiapos,stai.plotters.install_plotter,stai.plotters.madmax,stai.plotters.plotters,stai.plotters.plotters_util,stai.plotting.check_plots,stai.plotting.create_plots,stai.plotting.manager,stai.plotting.util,stai.pools.pool_config,stai.pools.pool_puzzles,stai.pools.pool_wallet,stai.pools.pool_wallet_info,stai.protocols.pool_protocol,stai.rpc.crawler_rpc_api,stai.rpc.farmer_rpc_api,stai.rpc.farmer_rpc_client,stai.rpc.full_node_rpc_api,stai.rpc.full_node_rpc_client,stai.rpc.harvester_rpc_api,stai.rpc.harvester_rpc_client,stai.rpc.rpc_client,stai.rpc.rpc_server,stai.rpc.timelord_rpc_api,stai.rpc.util,stai.rpc.wallet_rpc_api,stai.rpc.wallet_rpc_client,stai.seeder.crawler,stai.seeder.crawler_api,stai.seeder.crawl_store,stai.seeder.dns_server,stai.seeder.peer_record,stai.seeder.start_crawler,stai.server.address_manager,stai.server.address_manager_store,stai.server.connection_utils,stai.server.introducer_peers,stai.server.node_discovery,stai.server.peer_store_resolver,stai.server.rate_limits,stai.server.reconnect_task,stai.server.server,stai.server.ssl_context,stai.server.start_farmer,stai.server.start_full_node,stai.server.start_harvester,stai.server.start_introducer,stai.server.start_service,stai.server.start_timelord,stai.server.start_wallet,stai.server.upnp,stai.server.ws_connection,stai.simulator.full_node_simulator,stai.simulator.start_simulator,stai.ssl.create_ssl,stai.timelord.iters_from_block,stai.timelord.timelord,stai.timelord.timelord_api,stai.timelord.timelord_launcher,stai.timelord.timelord_state,stai.types.announcement,stai.types.blockchain_format.classgroup,stai.types.blockchain_format.coin,stai.types.blockchain_format.program,stai.types.blockchain_format.proof_of_space,stai.types.blockchain_format.tree_hash,stai.types.blockchain_format.vdf,stai.types.full_block,stai.types.header_block,stai.types.mempool_item,stai.types.name_puzzle_condition,stai.types.peer_info,stai.types.spend_bundle,stai.types.transaction_queue_entry,stai.types.unfinished_block,stai.types.unfinished_header_block,stai.util.api_decorators,stai.util.block_cache,stai.util.cached_bls,stai.util.check_fork_next_block,stai.util.stai_logging,stai.util.config,stai.util.db_wrapper,stai.util.dump_keyring,stai.util.file_keyring,stai.util.files,stai.util.hash,stai.util.json_util,stai.util.keychain,stai.util.keyring_wrapper,stai.util.log_exceptions,stai.util.lru_cache,stai.util.make_test_constants,stai.util.merkle_set,stai.util.network,stai.util.partial_func,stai.util.pip_import,stai.util.profiler,stai.util.safe_cancel_task,stai.util.service_groups,stai.util.ssl_check,stai.util.validate_alert,stai.wallet.block_record,stai.wallet.cat_wallet.cat_utils,stai.wallet.cat_wallet.cat_wallet,stai.wallet.cat_wallet.lineage_store,stai.wallet.chialisp,stai.wallet.did_wallet.did_wallet,stai.wallet.did_wallet.did_wallet_puzzles,stai.wallet.key_val_store,stai.wallet.lineage_proof,stai.wallet.nft_wallet.nft_wallet,stai.wallet.payment,stai.wallet.puzzles.load_clvm,stai.wallet.puzzles.p2_conditions,stai.wallet.puzzles.p2_delegated_conditions,stai.wallet.puzzles.p2_delegated_puzzle,stai.wallet.puzzles.p2_delegated_puzzle_or_hidden_puzzle,stai.wallet.puzzles.p2_m_of_n_delegate_direct,stai.wallet.puzzles.p2_puzzle_hash,stai.wallet.puzzles.prefarm.spend_prefarm,stai.wallet.puzzles.puzzle_utils,stai.wallet.puzzles.rom_bootstrap_generator,stai.wallet.puzzles.singleton_top_layer,stai.wallet.puzzles.tails,stai.wallet.rl_wallet.rl_wallet,stai.wallet.rl_wallet.rl_wallet_puzzles,stai.wallet.secret_key_store,stai.wallet.settings.user_settings,stai.wallet.trade_manager,stai.wallet.trade_record,stai.wallet.trading.offer,stai.wallet.trading.trade_store,stai.wallet.transaction_record,stai.wallet.util.debug_spend_bundle,stai.wallet.util.new_peak_queue,stai.wallet.util.peer_request_cache,stai.wallet.util.wallet_sync_utils,stai.wallet.wallet,stai.wallet.wallet_action_store,stai.wallet.wallet_blockchain,stai.wallet.wallet_coin_store,stai.wallet.wallet_interested_store,stai.wallet.wallet_node,stai.wallet.wallet_node_api,stai.wallet.wallet_pool_store,stai.wallet.wallet_puzzle_store,stai.wallet.wallet_state_manager,stai.wallet.wallet_sync_store,stai.wallet.wallet_transaction_store,stai.wallet.wallet_user_store,stai.wallet.wallet_weight_proof_handler,installhelper,tests.blockchain.blockchain_test_utils,tests.blockchain.test_blockchain,tests.blockchain.test_blockchain_transactions,tests.block_tools,tests.build-init-files,tests.build-workflows,tests.clvm.coin_store,tests.clvm.test_chialisp_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,tests.setup_nodes,tests.setup_services,tests.simulation.test_simulation,tests.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,tests.util.keyring,tests.util.key_tool,tests.util.rpc,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.rl_wallet.test_rl_rpc,tests.wallet.rl_wallet.test_rl_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_chialisp,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,tests.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,stai.wallet.nft_wallet.nft_puzzles,tests.wallet.nft_wallet.test_nft_puzzles]
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