This repository has been archived by the owner on Jul 22, 2022. It is now read-only.
forked from Flax-Network/flax-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,flax,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,flax.clvm.spend_sim,flax.cmds.configure,flax.cmds.db,flax.cmds.db_upgrade_func,flax.cmds.farm_funcs,flax.cmds.init,flax.cmds.init_funcs,flax.cmds.keys,flax.cmds.keys_funcs,flax.cmds.passphrase,flax.cmds.passphrase_funcs,flax.cmds.plotnft,flax.cmds.plotnft_funcs,flax.cmds.plots,flax.cmds.plotters,flax.cmds.show,flax.cmds.start_funcs,flax.cmds.wallet,flax.cmds.wallet_funcs,flax.daemon.client,flax.daemon.keychain_proxy,flax.daemon.keychain_server,flax.daemon.server,flax.farmer.farmer,flax.farmer.farmer_api,flax.full_node.block_height_map,flax.full_node.block_store,flax.full_node.bundle_tools,flax.full_node.coin_store,flax.full_node.full_node,flax.full_node.full_node_api,flax.full_node.full_node_store,flax.full_node.generator,flax.full_node.hint_store,flax.full_node.lock_queue,flax.full_node.mempool,flax.full_node.mempool_check_conditions,flax.full_node.mempool_manager,flax.full_node.pending_tx_cache,flax.full_node.sync_store,flax.full_node.weight_proof,flax.harvester.harvester,flax.harvester.harvester_api,flax.introducer.introducer,flax.introducer.introducer_api,flax.plotters.bladebit,flax.plotters.chiapos,flax.plotters.install_plotter,flax.plotters.madmax,flax.plotters.plotters,flax.plotters.plotters_util,flax.plotting.check_plots,flax.plotting.create_plots,flax.plotting.manager,flax.plotting.util,flax.pools.pool_config,flax.pools.pool_puzzles,flax.pools.pool_wallet,flax.pools.pool_wallet_info,flax.protocols.pool_protocol,flax.rpc.crawler_rpc_api,flax.rpc.farmer_rpc_api,flax.rpc.farmer_rpc_client,flax.rpc.full_node_rpc_api,flax.rpc.full_node_rpc_client,flax.rpc.harvester_rpc_api,flax.rpc.harvester_rpc_client,flax.rpc.rpc_client,flax.rpc.rpc_server,flax.rpc.timelord_rpc_api,flax.rpc.util,flax.rpc.wallet_rpc_api,flax.rpc.wallet_rpc_client,flax.seeder.crawler,flax.seeder.crawler_api,flax.seeder.crawl_store,flax.seeder.dns_server,flax.seeder.peer_record,flax.seeder.start_crawler,flax.server.address_manager,flax.server.address_manager_store,flax.server.connection_utils,flax.server.introducer_peers,flax.server.node_discovery,flax.server.peer_store_resolver,flax.server.rate_limits,flax.server.reconnect_task,flax.server.server,flax.server.ssl_context,flax.server.start_farmer,flax.server.start_full_node,flax.server.start_harvester,flax.server.start_introducer,flax.server.start_service,flax.server.start_timelord,flax.server.start_wallet,flax.server.upnp,flax.server.ws_connection,flax.simulator.full_node_simulator,flax.simulator.start_simulator,flax.ssl.create_ssl,flax.timelord.iters_from_block,flax.timelord.timelord,flax.timelord.timelord_api,flax.timelord.timelord_launcher,flax.timelord.timelord_state,flax.types.announcement,flax.types.blockchain_format.classgroup,flax.types.blockchain_format.coin,flax.types.blockchain_format.program,flax.types.blockchain_format.proof_of_space,flax.types.blockchain_format.tree_hash,flax.types.blockchain_format.vdf,flax.types.full_block,flax.types.header_block,flax.types.mempool_item,flax.types.name_puzzle_condition,flax.types.peer_info,flax.types.spend_bundle,flax.types.transaction_queue_entry,flax.types.unfinished_block,flax.types.unfinished_header_block,flax.util.api_decorators,flax.util.block_cache,flax.util.cached_bls,flax.util.check_fork_next_block,flax.util.flax_logging,flax.util.config,flax.util.db_wrapper,flax.util.dump_keyring,flax.util.file_keyring,flax.util.files,flax.util.hash,flax.util.json_util,flax.util.keychain,flax.util.keyring_wrapper,flax.util.log_exceptions,flax.util.lru_cache,flax.util.make_test_constants,flax.util.merkle_set,flax.util.network,flax.util.partial_func,flax.util.pip_import,flax.util.profiler,flax.util.safe_cancel_task,flax.util.service_groups,flax.util.ssl_check,flax.util.validate_alert,flax.wallet.block_record,flax.wallet.cat_wallet.cat_utils,flax.wallet.cat_wallet.cat_wallet,flax.wallet.cat_wallet.lineage_store,flax.wallet.flaxlisp,flax.wallet.did_wallet.did_wallet,flax.wallet.did_wallet.did_wallet_puzzles,flax.wallet.key_val_store,flax.wallet.lineage_proof,flax.wallet.nft_wallet.nft_wallet,flax.wallet.payment,flax.wallet.puzzles.load_clvm,flax.wallet.puzzles.p2_conditions,flax.wallet.puzzles.p2_delegated_conditions,flax.wallet.puzzles.p2_delegated_puzzle,flax.wallet.puzzles.p2_delegated_puzzle_or_hidden_puzzle,flax.wallet.puzzles.p2_m_of_n_delegate_direct,flax.wallet.puzzles.p2_puzzle_hash,flax.wallet.puzzles.prefarm.spend_prefarm,flax.wallet.puzzles.puzzle_utils,flax.wallet.puzzles.rom_bootstrap_generator,flax.wallet.puzzles.singleton_top_layer,flax.wallet.puzzles.tails,flax.wallet.rl_wallet.rl_wallet,flax.wallet.rl_wallet.rl_wallet_puzzles,flax.wallet.secret_key_store,flax.wallet.settings.user_settings,flax.wallet.trade_manager,flax.wallet.trade_record,flax.wallet.trading.offer,flax.wallet.trading.trade_store,flax.wallet.transaction_record,flax.wallet.util.debug_spend_bundle,flax.wallet.util.new_peak_queue,flax.wallet.util.peer_request_cache,flax.wallet.util.wallet_sync_utils,flax.wallet.wallet,flax.wallet.wallet_action_store,flax.wallet.wallet_blockchain,flax.wallet.wallet_coin_store,flax.wallet.wallet_interested_store,flax.wallet.wallet_node,flax.wallet.wallet_node_api,flax.wallet.wallet_pool_store,flax.wallet.wallet_puzzle_store,flax.wallet.wallet_state_manager,flax.wallet.wallet_sync_store,flax.wallet.wallet_transaction_store,flax.wallet.wallet_user_store,flax.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_flaxlisp_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_flaxlisp,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,flax.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