1ea1213b7SJohn Snow[metadata] 2ea1213b7SJohn Snowname = qemu 33afc3290SJohn Snowversion = file:VERSION 4ea1213b7SJohn Snowmaintainer = QEMU Developer Team 5ea1213b7SJohn Snowmaintainer_email = qemu-devel@nongnu.org 6ea1213b7SJohn Snowurl = https://www.qemu.org/ 7ea1213b7SJohn Snowdownload_url = https://www.qemu.org/download/ 8ea1213b7SJohn Snowdescription = QEMU Python Build, Debug and SDK tooling. 9ea1213b7SJohn Snowlong_description = file:PACKAGE.rst 10ea1213b7SJohn Snowlong_description_content_type = text/x-rst 11ea1213b7SJohn Snowclassifiers = 12ea1213b7SJohn Snow Development Status :: 3 - Alpha 13ea1213b7SJohn Snow License :: OSI Approved :: GNU General Public License v2 (GPLv2) 14ea1213b7SJohn Snow Natural Language :: English 15ea1213b7SJohn Snow Operating System :: OS Independent 16ea1213b7SJohn Snow Programming Language :: Python :: 3 :: Only 17ea1213b7SJohn Snow 18ea1213b7SJohn Snow[options] 19ea1213b7SJohn Snowpython_requires = >= 3.6 20ea1213b7SJohn Snowpackages = 21ea1213b7SJohn Snow qemu.qmp 22ea1213b7SJohn Snow qemu.machine 23ea1213b7SJohn Snow qemu.utils 24ef42440dSJohn Snow 25*dbe75f55SJohn Snow[options.extras_require] 26*dbe75f55SJohn Snow# Run `pipenv lock --dev` when changing these requirements. 27*dbe75f55SJohn Snowdevel = 28*dbe75f55SJohn Snow flake8 >= 3.6.0 29*dbe75f55SJohn Snow isort >= 5.1.2 30*dbe75f55SJohn Snow mypy >= 0.770 31*dbe75f55SJohn Snow pylint >= 2.8.0 32*dbe75f55SJohn Snow 33*dbe75f55SJohn Snow 3481f8c446SJohn Snow[flake8] 3581f8c446SJohn Snowextend-ignore = E722 # Prefer pylint's bare-except checks to flake8's 3621d0b866SJohn Snowexclude = __pycache__, 3721d0b866SJohn Snow .venv, 3881f8c446SJohn Snow 39e941c844SJohn Snow[mypy] 40e941c844SJohn Snowstrict = True 41e941c844SJohn Snowpython_version = 3.6 42e941c844SJohn Snowwarn_unused_configs = True 430542a4c9SJohn Snownamespace_packages = True 44e941c844SJohn Snow 45ef42440dSJohn Snow[pylint.messages control] 46ef42440dSJohn Snow# Disable the message, report, category or checker with the given id(s). You 47ef42440dSJohn Snow# can either give multiple identifiers separated by comma (,) or put this 48ef42440dSJohn Snow# option multiple times (only on the command line, not in the configuration 49ef42440dSJohn Snow# file where it should appear only once). You can also use "--disable=all" to 50ef42440dSJohn Snow# disable everything first and then reenable specific checks. For example, if 51ef42440dSJohn Snow# you want to run only the similarities checker, you can use "--disable=all 52ef42440dSJohn Snow# --enable=similarities". If you want to run only the classes checker, but have 53ef42440dSJohn Snow# no Warning level messages displayed, use "--disable=all --enable=classes 54ef42440dSJohn Snow# --disable=W". 55ef42440dSJohn Snowdisable=too-many-arguments, 56ef42440dSJohn Snow too-many-instance-attributes, 57ef42440dSJohn Snow too-many-public-methods, 58ef42440dSJohn Snow 59ef42440dSJohn Snow[pylint.basic] 60ef42440dSJohn Snow# Good variable names which should always be accepted, separated by a comma. 61ef42440dSJohn Snowgood-names=i, 62ef42440dSJohn Snow j, 63ef42440dSJohn Snow k, 64ef42440dSJohn Snow ex, 65ef42440dSJohn Snow Run, 66ef42440dSJohn Snow _, 67ef42440dSJohn Snow fd, 68ef42440dSJohn Snow c, 69ef42440dSJohn Snow 70ef42440dSJohn Snow[pylint.similarities] 71ef42440dSJohn Snow# Ignore imports when computing similarities. 72ef42440dSJohn Snowignore-imports=yes 73158ac451SJohn Snow 74158ac451SJohn Snow[isort] 75158ac451SJohn Snowforce_grid_wrap=4 76158ac451SJohn Snowforce_sort_within_sections=True 77158ac451SJohn Snowinclude_trailing_comma=True 78158ac451SJohn Snowline_length=72 79158ac451SJohn Snowlines_after_imports=2 80158ac451SJohn Snowmulti_line_output=3 81