Python v2021.1.0 Release Notes
Release Date: 2021-01-21 // over 3 years ago-
โจ Enhancements
๐ 1. Remove code snippets (you can copy the old snippets and use them as your own snippets). (#14781)
- Add PYTHONPATH to the language server settings response. (#15106) ๐ 1. Integration with the bandit linter will highlight the variable, function or method for an issue instead of the entire line. Requires latest version of the bandit package to be installed. (thanks Anthony Shaw) (#15003)
- Translated some more of the Python Extension messages in Simplified Chinese. (thanks Shinoyasan) (#15079) โก๏ธ 1. Update Simplified Chinese translation. (thanks Fiftysixtimes7) (#14997)
๐ Fixes
- Fix environment variables not refreshing on env file edits. (#3805)
- fix npm audit[high]: [Remote Code Execution](npmjs.com/advisories/1548) (#14640)
- Ignore false positives when scraping environment variables.
(#14812)
โ
1. Fix unittest discovery when using VS Code Insiders by using Inversify's
skipBaseClassChecks
option. (#14962) - Make filtering in findInterpretersInDir() faster. (#14983) ๐ 1. Remove the Buffer() is deprecated warning from Developer tools. (#15045) (#15045) โ 1. Add support for pytest 6 options. (#15094)
Code Health
โก๏ธ 1. Update to Node 12.20.0. (#15046)
Thanks
Thanks to the following projects which we fully rely on to provide some of our features:
- debugpy
- isort
- jedi and parso
- Microsoft Python Language Server
- ๐ Pylance
- exuberant ctags (user-installed)
- rope (user-installed)
Also thanks to the various projects we provide integrations with which help ๐ make this extension useful:
- ๐ Debugging support: Django, Flask, gevent, Jinja, Pyramid, PySpark, Scrapy, Watson
- Formatting: autopep8, black, yapf
- ๐ Interpreter support: conda, direnv, pipenv, pyenv, venv, virtualenv
- ๐ Linting: bandit, flake8, mypy, prospector, pylint, pydocstyle, pylama
- โ Testing: nose, pytest, unittest
And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!