refurb

View on PyPIReverse Dependencies (20)

2.0.0 refurb-2.0.0-py3-none-any.whl

Wheel Details

Project: refurb
Version: 2.0.0
Filename: refurb-2.0.0-py3-none-any.whl
Download: [link]
Size: 138560
MD5: 1209d9dde46468694b54ef95ba38c2c1
SHA256: fa9e950dc6edd7473642569c118f8714eefd1e6f21a15ee4210a1be853aaaf80
Uploaded: 2024-03-11 05:40:00 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: refurb
Version: 2.0.0
Summary: A tool for refurbish and modernize Python codebases
Author: dosisod
Home-Page: https://github.com/dosisod/refurb
Project-Url: Repository, https://github.com/dosisod/refurb
License: GPL-3.0-only
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Testing
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: mypy (>=0.981)
Requires-Dist: tomli (<3.0.0,>=2.0.1); python_version < "3.11"
Description-Content-Type: text/markdown
[Description omitted; length: 15279 characters]

WHEEL

Wheel-Version: 1.0
Generator: poetry-core 1.9.0
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
refurb/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/__main__.py sha256=17SiRsEgq4YwfNFgQIJRo3d48OSkCajdsbLvOLxhOJI 146
refurb/checks/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/builtin/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/builtin/list_extend.py sha256=LwtxEVw5JVLdlSgwvD-rk-t4oYsmHN5h5PYnfLUynWw 1937
refurb/checks/builtin/no_del.py sha256=_cf6QxQGw741u2G0pohI1W1VppxJfe9k_Xp16TUnZQA 1578
refurb/checks/builtin/no_ignored_dict_items.py sha256=0-xJAE6xauJ7UP092sRQMcDtXbaOEKmIyWfoPrY0gu4 2165
refurb/checks/builtin/no_ignored_enumerate.py sha256=vj9Y_5IyZCw8eAwoPlBzfDlK3ltvEibMWJrvPuUqvHk 2327
refurb/checks/builtin/no_is_type_none.py sha256=XZBB04FTybeeJtTvCaQDGtQSCn9YGKEdOq08JUw1kRs 1185
refurb/checks/builtin/no_isinstance_type_none.py sha256=jolH8SqfYSfigsz90LAetQUjejCVQ9ru_0im8euaDoM 2462
refurb/checks/builtin/no_set_for_loop.py sha256=lfQsitqEW095dMZlJuQ7HzD9b3VBOOLuKWGFTUHL00U 2204
refurb/checks/builtin/no_slice_copy.py sha256=DAryprOVRQbvZxF2xNdgJk_1Ic_-bXyLw7u0ZUAd1gY 1738
refurb/checks/builtin/print.py sha256=b6Umo4W0gkaiRcNVbS9z9VPJrYcV639kta7UO2aSsoY 619
refurb/checks/builtin/set_discard.py sha256=n2uX8uGH8JM4TKtBPAOEv8CdUtF85G64xw7EzVdtErM 1636
refurb/checks/builtin/simplify_comprehension.py sha256=8sjFKa24DFu1qv0hK6pkX8ROXYAfx2igWrt63KJ-8VY 2227
refurb/checks/builtin/simplify_global_and_nonlocal.py sha256=BM-Hto_eVTJhcIZaBUGkA-U-6MwB_yw5QKWI7g2UzCA 1639
refurb/checks/builtin/use_bit_count.py sha256=0pgXafHS-i86uXJ4L4SJgOnZUrP3-dWnbl0MfAdOUvU 2103
refurb/checks/builtin/use_int_base_zero.py sha256=yzZ4zBvbwZUrhT-FFRqZwIXK8Hilb6JzWDiZnrnF-ew 2127
refurb/checks/builtin/use_isinstance_tuple.py sha256=TvY0WBogCtsdABglo7b3yGLVK_aZPotKRJr7zq3UAWU 1732
refurb/checks/builtin/use_max.py sha256=b6VP6CCSL98G7wRv1LGncTaWXMN5sDiRAV8HjPd34NQ 1994
refurb/checks/builtin/writelines.py sha256=1CGQYSIWpN8xznpPyZv9TKHN-_o-vourDbFJ5BdA9F8 2525
refurb/checks/collections/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/collections/no_subclass_builtin.py sha256=e7idtVlWChTw-qwbrxTg1UuEFscSoPLIoxJRmjwOny0 1677
refurb/checks/common.py sha256=zl-BNt074ylVfHZVC0Yy3_uQ8bEqgmjzGgtzW5Eitlo 22022
refurb/checks/contextlib/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/contextlib/with_suppress.py sha256=0phscaUv72-1-tze79Ehx7B4tfqJuxBh9Dolu_pudRc 1935
refurb/checks/datetime/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/datetime/simplify_fromisoformat.py sha256=lSR0qIHRoj_O5Eye6BNR7edH-eoazQ-1aML5qcMrnPg 3176
refurb/checks/datetime/unreliable_utc_usage.py sha256=aG9xBZp3tAkHkaW7jlpQGwhBAZ5PyPmQ3wsG7hXfrS8 1489
refurb/checks/decimal/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/decimal/simplify_ctor.py sha256=ErbbNX6hWPu5-jS9Egdgyr6txBu_Ut2TTCQoH9gFtoE 2014
refurb/checks/flow/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/flow/no_trailing_continue.py sha256=FHgpTTyaJw3OOqqVbKZC97r709wBDzrxPcqtzKHq0Co 2232
refurb/checks/flow/no_trailing_return.py sha256=ceSujoCUK5_GkEcdpjH6qwqOWqbSl7akGoZ4jBD1upE 1948
refurb/checks/flow/no_with_assign.py sha256=W7HE3zazTxgIZWV7I2PYhR-srmxp5MOUS5Jz7AevuTg 2061
refurb/checks/flow/simplify_return.py sha256=W--Yb9zoOIAFw4K9jMDd3GauU-JM5yMRxiV35l7C7lo 2199
refurb/checks/function/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/function/use_implicit_default.py sha256=30y0nZl7BVV5w-FeUXR68ih7sR8rTX08sjFQ3QUtD1M 5705
refurb/checks/functools/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/functools/use_cache.py sha256=yeS61dklKLilhSCwwCtYW8o5bWQ4CejBFTxdHDyoW_A 1582
refurb/checks/hashlib/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/hashlib/simplify_ctor.py sha256=CybJMC9Ve0BjevFBmLNMyxn3GKfn-PdYZD1wYhDo20w 2192
refurb/checks/hashlib/use_hexdigest.py sha256=oNDXK-qY4zqKDq22DV77jW2nasIUxAx0-hMyf2yQaEA 1874
refurb/checks/iterable/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/iterable/implicit_readlines.py sha256=U-2lN6EH8pC9AVoDtzyGvmCxoVX8Cv_c_rBBfMqmYM0 1443
refurb/checks/iterable/in_tuple.py sha256=eU2otoDZHrtMp3ui8o9OEz4wFdgnnECVF2cEbwBy_Rs 1562
refurb/checks/iterable/no_single_item_in.py sha256=wTQccWqGomiTX0DYP7uPdZWbdjD8MnyWLXDp6rWsUK4 1041
refurb/checks/itertools/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/itertools/use_chain_from_iterable.py sha256=jeFYFe4_UfOp3bGDVQe-2c3Qp7lX9uZDhk2ylIpMugI 3872
refurb/checks/itertools/use_starmap.py sha256=WlwcQUPa-f2CRiyOUYlCi02aKdPutwFZMTp2JYn-LoI 2953
refurb/checks/logical/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/logical/use_equal_chain.py sha256=kmjZPgzgCn-eKEjt6rIvR8DPrlnMTE2ORzS7hgLyOVY 1344
refurb/checks/logical/use_in.py sha256=YyxONVhcac3D67XbGu9QqDceX0ikMZYHwE2ezg-FFEc 1399
refurb/checks/logical/use_or.py sha256=a53JM7LSrs8u-Ev3n4RTt7-Qa7Y5yzSqpqACXMDZ9OM 985
refurb/checks/math/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/math/simplify_log.py sha256=XbkwO50e_REywOoKva3biBgrlsNwc-Zb6mVjHD-qFSY 1271
refurb/checks/math/use_constants.py sha256=nqiDncpnmffA-8I4tiNEg2Xu_aJQwQHU8QC0QsYgZFE 929
refurb/checks/pathlib/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/pathlib/cwd.py sha256=wJCQwj-oVd2fRdV0MKzp0bae2mJRlcVTxbKZA3Q4nHI 712
refurb/checks/pathlib/exists.py sha256=LA6_gwg2e2JBbzBiLPRfQqnmajPlBo_ZB_KGhyeH8bo 1099
refurb/checks/pathlib/getsize.py sha256=Vm64KLJe9AnlLLMSyurevz_VU92P3WOXkqdB4wZKh3w 1528
refurb/checks/pathlib/is_file.py sha256=IsRP80UiGx0erNXfUSDgCzjiTi5q-XHf136GhWQZRMA 1470
refurb/checks/pathlib/mkdir.py sha256=_mugZa13Rfr7kZCDj2gcXK9XyKYJryOFys0NbhOKgx8 1706
refurb/checks/pathlib/no_cwd_resolve.py sha256=Nzey2I_91lO8BVl2hvYqyQkXBvT8m3aWkP3Rxgv1umw 1079
refurb/checks/pathlib/no_join.py sha256=YDDqKFRf6y3dSF2BuqDulyznlGNX1ehX8ykCupPL21A 2431
refurb/checks/pathlib/open.py sha256=gNm3DMpH_4HXN6zx4LQwqIbjESLWNviEt5H12IIQOQQ 1496
refurb/checks/pathlib/read_text.py sha256=u9ujeSIKLnTHvK-j-iOU8M-fKf1uoGmFwzYu-exF57k 2204
refurb/checks/pathlib/simplify_ctor.py sha256=uGztiRI9FQf1kw9RnmXhIcQm1kvSm8vv8-7ksnYXuqs 1510
refurb/checks/pathlib/touch.py sha256=Cj9geYShbc4xsIO_jwIW6Tad5Q268Rs-oRpiTXyimqI 1594
refurb/checks/pathlib/unlink.py sha256=e0ilUqos0bpS01_SpHGrFQG-0EmPBjUTbjJt5jV1xBY 1168
refurb/checks/pathlib/use_suffix.py sha256=HOG4fqDLQPQ8X0P70557-WKsG4eqPwYC_sCyjdKIS3g 1652
refurb/checks/pathlib/util.py sha256=fANfPyz7LkqGUPr9fKvszoGy0nokRvhK84gpv1eQOuY 202
refurb/checks/pathlib/with_suffix.py sha256=UR40fDkHQ9Wx2YsodHsa3DAOPsXYR25UCyfGFjBi6qk 1366
refurb/checks/pathlib/write_text.py sha256=NC11rJ-PWP_OTcb_wgKFCXwDmHHFXEyHR_9aZS5iVSw 1511
refurb/checks/pattern_matching/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/pattern_matching/simplify_as_builtin.py sha256=6zHlEM5TxMh9nOdPKcLBPBGa2qcS2Ohv3qYTHfqC4Co 1599
refurb/checks/readability/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/readability/fluid_interface.py sha256=mi45RPl8ZvfVa4Wr2HNHfqsCkvgLaTxrBWLnAxE_Psc 4993
refurb/checks/readability/in_keys.py sha256=aYZBgkBu7Lv9qkvChY1bECr3PeVuoQ3L22Ef0q04_KA 1248
refurb/checks/readability/no_copy_with_merge.py sha256=Qwkd7GBR4UrfNwAEpThUHdG3MWwFfKHKRnyEnMCQr2E 1331
refurb/checks/readability/no_double_not.py sha256=5UfRN82054hDPFV1rlAUF7q97mlPWsk6kyPxzEsPPdE 684
refurb/checks/readability/no_from_float.py sha256=o4AQsIUsn3kky6dyZsGTEnaH-OK9GOqC3nNA4mX0AD8 1501
refurb/checks/readability/no_is_bool_compare.py sha256=8f6rgHywG_PpBPnRSADDoSD9sqpbr2jxQ2nmumNspbQ 1902
refurb/checks/readability/no_len_cmp.py sha256=O9p1vhMyVQvyZ2j7z5EjOHKR9S32N3_TF4b5Wq9EUMk 5320
refurb/checks/readability/no_or_default.py sha256=NyvNQykQNgWM4T2tYve-qzdTYRdb_jzxs49UI1JP4Rw 2063
refurb/checks/readability/no_redundant_assign.py sha256=TnDExgbRP5XpxmNWFAtWIinz4Q52rWNIc1jpJ-GcJy8 1023
refurb/checks/readability/no_temp_class_object.py sha256=2nw4Nsk5bwlTiAetj1DlO29m-6a88cvKFtXNWZdyBZ4 1663
refurb/checks/readability/no_unnecessary_cast.py sha256=i2-AxafSW1eVvR1XdF_59zm4uV8OIA-CNEgNrHbPQgc 2021
refurb/checks/readability/use_abc_shorthand.py sha256=ZJyyPJl7vZxOMSeUkQkLERfEeuCc1mGmxxIb-StVDpw 1427
refurb/checks/readability/use_comprehension.py sha256=u2ts0__x-s5UR_rR8wN8gw1l-UdtyoQOSL-YmmLy638 2983
refurb/checks/readability/use_dict_union.py sha256=WVhyzeZ0ozhnhOLwoj2EOBAMSN9rWfS94IN4kv2EPfU 4353
refurb/checks/readability/use_func_name.py sha256=RJ0Z3cukOgHWk5-WTHnQnKmkTdvgSNaD-2SdihN10Bs 3496
refurb/checks/readability/use_isinstance_bool.py sha256=i-EWa4kCLoP8kAgiE_NpNXQQh_9hyS44dgbaA3WOJ74 1540
refurb/checks/readability/use_literal.py sha256=f-E-4kJNifSNCX0diByc1CgtFIWr32I94t2w-Lweehk 1069
refurb/checks/readability/use_operators.py sha256=euOtAWSZOs2UeHnBrcWrNRrYxAwBTVOy5xnVyAghoYs 5782
refurb/checks/readability/use_reverse.py sha256=hYpQJV_RDVE9hWIr4P5R1-K45TEuS9kUIGaTK89FXMU 2208
refurb/checks/readability/use_sort.py sha256=1CQPPlLyz1NU-9X8SzDlu7g76TCHde1ibJaJz9MA5og 1714
refurb/checks/readability/use_str_func.py sha256=1Sa8WVLZHEwHGD3HkPK8mrD1V3kAKb555tmzxFXROxs 2099
refurb/checks/readability/use_str_method.py sha256=SidwPBWe-GXZtGstzWgr8Vc42HUYv-jbc8UcXoyMaJ4 2380
refurb/checks/readability/use_tuple_swap.py sha256=tIKDBSkFIS7yZPoe3dDrd68QzNNgEI4gMa9WGfJw9Tc 1594
refurb/checks/regex/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/regex/use_long_flag.py sha256=dEpQs2dHY4WVCZj8xtoh9VXEcjbkpPxLVPtZREnYLFw 1284
refurb/checks/regex/use_pattern_method.py sha256=4RfOqDDjdZWQjDOZDkU3nUruwiGye7n3MczKDvA44tw 2548
refurb/checks/secrets/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/secrets/simplify_token_function.py sha256=e8wqYuZljQ2MiZnC4lPE5L8cNduI_hVGfvJz-sUW8YA 2827
refurb/checks/shlex/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/shlex/use_join.py sha256=GdKlCR-DaVaooFVi2P-GzI-i1BCvX_tn8_ei8zUiGy8 2052
refurb/checks/string/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/string/charsets.py sha256=OkljmNahrxQ_sc2AVajyODYcf9IW2vugDUAsn224oTY 2197
refurb/checks/string/expandtabs.py sha256=zrqdq_129mIZpDuUOKWZ_TqEKaMzf0u4wPlEEhFOJ2w 3693
refurb/checks/string/fstring_number.py sha256=x3XyN6oG87woYCarH1U0DKp0SMJhlDd-vO_Zb9KtcQE 1422
refurb/checks/string/no_multiline_lstrip.py sha256=ojh88ODYFL_rm2eoAIFBmUMzPfhicfHV4Y2iWnYVYqY 2018
refurb/checks/string/remove_prefix_or_suffix.py sha256=kw56Szcotz0Sn99umgVrd-os9G0b1EmZLcm6opPgaT8 5511
refurb/checks/string/simplify_strip.py sha256=rYcVYXf_ROczeJixPiIZQEKXRUawXRmODq05IhKbjcM 2607
refurb/checks/string/startswith.py sha256=SFOdA6QmlaqJbMpsJNdTN-Yi1uRJ0BfTb5T6GOuKgxQ 2144
refurb/checks/string/use_fstring_fmt.py sha256=aKt9K8gCSLXb1mMIKKHmlPr_rUCG2-Hi3Of1TE0l-9Y 1672
refurb/checks/third_party/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/third_party/fastapi/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/checks/third_party/fastapi/simplify_query.py sha256=esJ7iCcMdXbe4zEXbxwBrliARb5mvC4nbJ5GdiPUqpY 2117
refurb/error.py sha256=mGPpt3ZFbM-dTJDNKo_BMbpBZJ9RLaHTG2x6oWQFT1U 1672
refurb/explain.py sha256=l5JJ92OJRwYO5mL192cy05xMJBrFYx-yY22qXtK_2as 1194
refurb/gen.py sha256=S_7T9DO3lq4Y8DFNIOlwFhJoNbFSkEmE1S6hbVIj3lQ 3731
refurb/loader.py sha256=9RscjSN-ESPlrKLSWCO5xtiNGOMkbQvDRieOwenG0v4 5322
refurb/main.py sha256=2lF_nHe3VwjqN6CICfeIgN6sK7SX0pqV9OKt2XrMeyc 10999
refurb/py.typed sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
refurb/settings.py sha256=9GyP2OZryAWb4pcsZBL9RsnPovE-I13df9jj2o2sqnc 11162
refurb/types.py sha256=PLMPOVklf28WSpumwBcfyLrPy_cVDfWg12WhfxvPAiM 351
refurb/visitor/__init__.py sha256=l0MqeqhHqsfuweLA7MKcOfv57kuehacVemI9AGxUaVw 190
refurb/visitor/mapping.py sha256=i8EP40kHe6im688FKdVmlDRgXYne1KqzmZVWHwiCEXc 4252
refurb/visitor/traverser.py sha256=XlSyAjLHaV6ojhG6P2mwQOrbrLcK4groRDlVXyobzxk 27755
refurb/visitor/visitor.py sha256=tJLWVpXpOcro3NOt7BrNVmda5O7_p1PZQQeXR4316YM 1927
refurb-2.0.0.dist-info/LICENSE sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY 35149
refurb-2.0.0.dist-info/METADATA sha256=Oh0JO_64eTcJNbT5o9nQWLLze_0o_8D2_UCWipcmWXU 16185
refurb-2.0.0.dist-info/WHEEL sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg 88
refurb-2.0.0.dist-info/entry_points.txt sha256=XLQN72KQb6k31FaKCgWoU2ME7xQnMWsMjzcpjH8aAQg 47
refurb-2.0.0.dist-info/RECORD

entry_points.txt

refurb = refurb.__main__:main