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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
# Build system requirements.
[build-system]
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
# Project metadata
[project]
name = "ast_decompiler"
version = "0.8.0"
description = "Python module to decompile AST to Python code"
readme = "README.rst"
requires-python = ">=3.8"
urls.Home = "https://github.com/JelleZijlstra/ast_decompiler"
license.file = "LICENSE"
keywords = ["ast", "decompiler"]
# Classifiers list: https://pypi.org/classifiers/
classifiers = [
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: Python Software Foundation License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development",
]
# Project metadata -- authors. Flit stores this as a list of dicts, so it can't
# be inline above.
[[project.authors]]
name = "Jelle Zijlstra"
email = "jelle.zijlstra@gmail.com"
[tool.flit.sdist]
include = ["CHANGELOG", "README.rst", "*/test*.py"]
exclude = []
[tool.pyanalyze]
paths = ["ast_decompiler", "tests"]
import_paths = ["."]
possibly_undefined_name = true
use_fstrings = true
missing_return_annotation = true
missing_parameter_annotation = true
unused_variable = true
value_always_true = true
suggested_parameter_type = true
suggested_return_type = true
incompatible_override = true
[tool.black]
target_version = ['py36']
skip-magic-trailing-comma = true
preview = true
[tool.pytest.ini_options]
filterwarnings = [
"error",
]
|