Vimjas / vint

Fast and Highly Extensible Vim script Language Lint implemented in Python.
MIT License
703 stars 33 forks source link

[feature] Support PEP518 #388

Open Freed-Wu opened 2 years ago

Freed-Wu commented 2 years ago

According to https://peps.python.org/pep-0621, any python project should store its metadata in pyproject.toml, not .gitlint, .yamllint.yaml, .vintrc.yml, addon-info.json, or other thing.

Many projects have support PEP621, such as

So I advise this project can support, too.

Before python3.11, toml support must be provided by third-party package, such as

You can use one as extras_require.

After python3.11, tomllib is a builtin package. Not need install any toml package. Remember python<3.11 in requirements.txt

Freed-Wu commented 2 years ago

it should be https://peps.python.org/pep-0518/#tool-table (right, pep only have a number which make it is hard to remember), It suggests every python tool store their setting to pyproject.tomls tool.