python-dev-tools
Advanced tools
| """ | ||
| Wrapper for whatalinter inside Visual Studio Code. | ||
| VS Code wants to import ``whatalinter``, not to execute it. | ||
| When ``whatalinter_vscode`` is imported, ``whatalinter`` is executed. | ||
| """ | ||
| import subprocess # noqa: S404 | ||
| import sys | ||
| new_args = ["whatalinter"] | ||
| for arg in sys.argv[1:]: | ||
| if "--format" in arg: | ||
| new_args.append("--format") | ||
| new_args.append('"{0}"'.format(arg.split("=")[-1])) | ||
| else: | ||
| new_args.append(arg) | ||
| out = subprocess.run(" ".join(new_args), capture_output=True, shell=True) # noqa: S602 | ||
| print(out.stdout.decode("utf-8")) | ||
| print(out.stderr.decode("utf-8"), file=sys.stderr) |
+44
-30
| Metadata-Version: 2.1 | ||
| Name: python-dev-tools | ||
| Version: 2020.9.2 | ||
| Version: 2020.9.4 | ||
| Summary: Needed and up-to-date tools to develop in Python | ||
@@ -26,2 +26,3 @@ Home-page: https://github.com/vpoulailleau/python-dev-tools | ||
| Requires-Dist: coverage (>=5.0.0,<6.0.0) | ||
| Requires-Dist: darglint (>=1.2,<2.0) | ||
| Requires-Dist: doc8 (>=0.8.0,<0.9.0) | ||
@@ -32,7 +33,9 @@ Requires-Dist: flake8 (>=3.8.0,<4.0.0) | ||
| Requires-Dist: flake8-broken-line (>=0.2.0,<0.3.0) | ||
| Requires-Dist: flake8-bugbear (>=19.3,<20.0) | ||
| Requires-Dist: flake8-bugbear (>=19.0,<20.0) | ||
| Requires-Dist: flake8-builtins (>=1.4.0,<2.0.0) | ||
| Requires-Dist: flake8-commas (>=2.0,<3.0) | ||
| Requires-Dist: flake8-comprehensions (>=3.2.0,<4.0.0) | ||
| Requires-Dist: flake8-debugger (>=3.2.0,<4.0.0) | ||
| Requires-Dist: flake8-docstrings (>=1.5.0,<2.0.0) | ||
| Requires-Dist: flake8-eradicate (>=0.3,<0.5) | ||
| Requires-Dist: flake8-fixme (>=1.1.0,<2.0.0) | ||
@@ -42,2 +45,5 @@ Requires-Dist: flake8-isort (>=3.0.1,<4) | ||
| Requires-Dist: flake8-mutable (>=1.2.0,<2.0.0) | ||
| Requires-Dist: flake8-quotes (>=2.0.1,<3.0.0) | ||
| Requires-Dist: flake8-rst-docstrings (>=0.0.12,<0.0.13) | ||
| Requires-Dist: flake8-string-format (>=0.2,<0.3) | ||
| Requires-Dist: flake8-variables-names (>=0.0.3,<0.0.4) | ||
@@ -116,4 +122,4 @@ Requires-Dist: isort (>=4.3.5,<5.0.0) | ||
| That's it! Use the provided linter, formatter and precommit hook where | ||
| applicable. | ||
| That's it! Use the provided linter (``whatalinter``), formatter (``whataformatter``) and | ||
| precommit hook (TODO) where applicable. | ||
@@ -125,5 +131,7 @@ Installation with Visual Studio Code | ||
| * Be sure to have the official Python extension installed in VS Code | ||
| * Open VS Code from within your activated virtual environment (in fact, make sure that | ||
| ``whatalinter_vscode`` is in your ``PYTHON_PATH``) | ||
| * In VS Code, open settings (F1 key, then type "Open Settings (JSON)", | ||
| then enter) | ||
| * Add in the opened JSON file: | ||
| * Add in the opened JSON file (before the closing ``}``): | ||
@@ -134,9 +142,7 @@ .. code:: javascript | ||
| "python.linting.flake8Enabled": true, | ||
| "python.linting.flake8Path": "flake8", | ||
| "python.linting.flake8Path": "whatalinter_vscode", | ||
| "python.formatting.provider": "black", | ||
| "python.formatting.blackPath": "whataformatter", | ||
| "python.formatting.blackPath": "black", | ||
| "python.formatting.blackArgs": [], | ||
| * Adapt the previous path according to your installation. | ||
| Features | ||
@@ -151,25 +157,28 @@ -------- | ||
| * ``whatalinter a_python_file.py`` lints a_python_file.py | ||
| * output is compatible with the one of flake8 for | ||
| easy integration in text editors and IDE | ||
| * based on | ||
| * output is compatible with the one of flake8 for easy integration in text editors | ||
| and IDE | ||
| * based on flake8 and plugins: https://gitlab.com/pycqa/flake8 | ||
| * pydocstyle: https://github.com/PyCQA/pydocstyle | ||
| * flake8 and plugins: https://gitlab.com/pycqa/flake8 | ||
| * darglint: https://github.com/terrencepreilly/darglint | ||
| * flake8-2020: https://github.com/asottile/flake8-2020 | ||
| * flake8-bandit: https://github.com/tylerwince/flake8-bandit | ||
| * flake8-broken-line: https://github.com/sobolevn/flake8-broken-line | ||
| * flake8-bugbear: https://github.com/PyCQA/flake8-bugbear | ||
| * flake8-builtins: https://github.com/gforcada/flake8-builtins | ||
| * flake8-commas: https://github.com/PyCQA/flake8-commas/ | ||
| * flake8-comprehensions: https://github.com/adamchainz/flake8-comprehensions | ||
| * flake8-debugger: https://github.com/JBKahn/flake8-debugger | ||
| * flake8-docstrings: https://gitlab.com/pycqa/flake8-docstrings | ||
| * flake8-eradicate: https://github.com/sobolevn/flake8-eradicate | ||
| * flake8-fixme: https://github.com/tommilligan/flake8-fixme | ||
| * flake8-isort: https://github.com/gforcada/flake8-isort | ||
| * flake8-logging-format: https://github.com/globality-corp/flake8-logging-format | ||
| * flake8-mutable: https://github.com/ebeweber/flake8-mutable | ||
| * flake8-quotes: https://github.com/zheller/flake8-quotes/ | ||
| * flake8-rst-docstrings: https://github.com/peterjc/flake8-rst-docstrings | ||
| * flake8-string-format: https://github.com/xZise/flake8-string-format | ||
| * flake8-variables-names: https://github.com/best-doctor/flake8-variables-names | ||
| * pep8-naming: https://github.com/PyCQA/pep8-naming | ||
| * wemake-python-styleguide: https://github.com/wemake-services/wemake-python-styleguide | ||
| * flake8-2020: https://github.com/asottile/flake8-2020 | ||
| * flake8-bandit: https://github.com/tylerwince/flake8-bandit | ||
| * flake8-broken-line: https://github.com/sobolevn/flake8-broken-line | ||
| * flake8-bugbear: https://github.com/PyCQA/flake8-bugbear | ||
| * flake8-builtins: https://github.com/gforcada/flake8-builtins | ||
| * flake8-comprehensions: https://github.com/adamchainz/flake8-comprehensions | ||
| * flake8-debugger: https://github.com/JBKahn/flake8-debugger | ||
| * flake8-docstrings: https://gitlab.com/pycqa/flake8-docstrings | ||
| * flake8-fixme: https://github.com/tommilligan/flake8-fixme | ||
| * flake8-isort: https://github.com/gforcada/flake8-isort | ||
| * flake8-logging-format: https://github.com/globality-corp/flake8-logging-format | ||
| * flake8-mutable: https://github.com/ebeweber/flake8-mutable | ||
| * flake8-variables-names: https://github.com/best-doctor/flake8-variables-names | ||
| * pep8-naming: https://github.com/PyCQA/pep8-naming | ||
| * wemake-python-styleguide: https://github.com/wemake-services/wemake-python-styleguide | ||
| * Simple formatter | ||
@@ -202,2 +211,7 @@ | ||
| 2020.9.4 | ||
| ^^^^^^^^ | ||
| * Add ``whatalinter_vscode`` for Visual Studio Code integration | ||
| 2020.9.2 | ||
@@ -204,0 +218,0 @@ ^^^^^^^^ |
+9
-4
| [tool.poetry] | ||
| name = "python_dev_tools" | ||
| version = "2020.9.2" | ||
| version = "2020.9.4" | ||
| description = "Needed and up-to-date tools to develop in Python" | ||
@@ -24,3 +24,3 @@ classifiers=[ | ||
| license = "BSD-3-Clause" | ||
| include = ["python_dev_tools/**/*.py"] | ||
| include = ["python_dev_tools/**/*.py", "whatalinter_vscode.py"] | ||
@@ -33,2 +33,3 @@ [tool.poetry.dependencies] | ||
| coverage = "^5.0.0" | ||
| darglint = "^1.2" | ||
| doc8 = "^0.8.0" | ||
@@ -39,7 +40,9 @@ flake8 = "^3.8.0" | ||
| flake8-broken-line = "^0.2.0" | ||
| flake8-bugbear = "^19.3" | ||
| flake8-bugbear = "^19.0" | ||
| flake8-builtins = "^1.4.0" | ||
| flake8-commas = "^2.0" | ||
| flake8-comprehensions = "^3.2.0" | ||
| flake8-debugger = "^3.2.0" | ||
| flake8-docstrings = "^1.5.0" | ||
| flake8-eradicate = ">=0.3,<0.5" | ||
| flake8-fixme = "^1.1.0" | ||
@@ -49,2 +52,5 @@ flake8-isort = ">=3.0.1,<4" | ||
| flake8-mutable = "^1.2.0" | ||
| flake8-quotes = "^2.0.1" | ||
| flake8-rst-docstrings = "^0.0.12" | ||
| flake8-string-format = "^0.2" | ||
| flake8-variables-names = "^0.0.3" | ||
@@ -62,3 +68,2 @@ isort = "^4.3.5" | ||
| Sphinx = "^2.4.0" | ||
| # TODO too old dependencies "wemake-python-styleguide = "^0.8.1" | ||
| tox = "^3.19.0" | ||
@@ -65,0 +70,0 @@ tox-travis = "^0.12" |
@@ -35,7 +35,8 @@ """Flake8 linter management.""" | ||
| "10", | ||
| # Q000: avoid "" strings | ||
| "--inline-quotes", | ||
| '"', | ||
| # WPS305: avoid f-strings | ||
| # WPS306: required explicit subclassing of object | ||
| # WPS602: avoid @staticmethod (can be subclassed…) | ||
| "--ignore=Q000,WPS305,WPS306,WPS602", | ||
| "--ignore=WPS305,WPS306,WPS602", | ||
| ], | ||
@@ -42,0 +43,0 @@ ) |
+36
-28
@@ -56,4 +56,4 @@ Python Dev Tools | ||
| That's it! Use the provided linter, formatter and precommit hook where | ||
| applicable. | ||
| That's it! Use the provided linter (``whatalinter``), formatter (``whataformatter``) and | ||
| precommit hook (TODO) where applicable. | ||
@@ -65,5 +65,7 @@ Installation with Visual Studio Code | ||
| * Be sure to have the official Python extension installed in VS Code | ||
| * Open VS Code from within your activated virtual environment (in fact, make sure that | ||
| ``whatalinter_vscode`` is in your ``PYTHON_PATH``) | ||
| * In VS Code, open settings (F1 key, then type "Open Settings (JSON)", | ||
| then enter) | ||
| * Add in the opened JSON file: | ||
| * Add in the opened JSON file (before the closing ``}``): | ||
@@ -74,9 +76,7 @@ .. code:: javascript | ||
| "python.linting.flake8Enabled": true, | ||
| "python.linting.flake8Path": "flake8", | ||
| "python.linting.flake8Path": "whatalinter_vscode", | ||
| "python.formatting.provider": "black", | ||
| "python.formatting.blackPath": "whataformatter", | ||
| "python.formatting.blackPath": "black", | ||
| "python.formatting.blackArgs": [], | ||
| * Adapt the previous path according to your installation. | ||
| Features | ||
@@ -91,25 +91,28 @@ -------- | ||
| * ``whatalinter a_python_file.py`` lints a_python_file.py | ||
| * output is compatible with the one of flake8 for | ||
| easy integration in text editors and IDE | ||
| * based on | ||
| * output is compatible with the one of flake8 for easy integration in text editors | ||
| and IDE | ||
| * based on flake8 and plugins: https://gitlab.com/pycqa/flake8 | ||
| * pydocstyle: https://github.com/PyCQA/pydocstyle | ||
| * flake8 and plugins: https://gitlab.com/pycqa/flake8 | ||
| * darglint: https://github.com/terrencepreilly/darglint | ||
| * flake8-2020: https://github.com/asottile/flake8-2020 | ||
| * flake8-bandit: https://github.com/tylerwince/flake8-bandit | ||
| * flake8-broken-line: https://github.com/sobolevn/flake8-broken-line | ||
| * flake8-bugbear: https://github.com/PyCQA/flake8-bugbear | ||
| * flake8-builtins: https://github.com/gforcada/flake8-builtins | ||
| * flake8-commas: https://github.com/PyCQA/flake8-commas/ | ||
| * flake8-comprehensions: https://github.com/adamchainz/flake8-comprehensions | ||
| * flake8-debugger: https://github.com/JBKahn/flake8-debugger | ||
| * flake8-docstrings: https://gitlab.com/pycqa/flake8-docstrings | ||
| * flake8-eradicate: https://github.com/sobolevn/flake8-eradicate | ||
| * flake8-fixme: https://github.com/tommilligan/flake8-fixme | ||
| * flake8-isort: https://github.com/gforcada/flake8-isort | ||
| * flake8-logging-format: https://github.com/globality-corp/flake8-logging-format | ||
| * flake8-mutable: https://github.com/ebeweber/flake8-mutable | ||
| * flake8-quotes: https://github.com/zheller/flake8-quotes/ | ||
| * flake8-rst-docstrings: https://github.com/peterjc/flake8-rst-docstrings | ||
| * flake8-string-format: https://github.com/xZise/flake8-string-format | ||
| * flake8-variables-names: https://github.com/best-doctor/flake8-variables-names | ||
| * pep8-naming: https://github.com/PyCQA/pep8-naming | ||
| * wemake-python-styleguide: https://github.com/wemake-services/wemake-python-styleguide | ||
| * flake8-2020: https://github.com/asottile/flake8-2020 | ||
| * flake8-bandit: https://github.com/tylerwince/flake8-bandit | ||
| * flake8-broken-line: https://github.com/sobolevn/flake8-broken-line | ||
| * flake8-bugbear: https://github.com/PyCQA/flake8-bugbear | ||
| * flake8-builtins: https://github.com/gforcada/flake8-builtins | ||
| * flake8-comprehensions: https://github.com/adamchainz/flake8-comprehensions | ||
| * flake8-debugger: https://github.com/JBKahn/flake8-debugger | ||
| * flake8-docstrings: https://gitlab.com/pycqa/flake8-docstrings | ||
| * flake8-fixme: https://github.com/tommilligan/flake8-fixme | ||
| * flake8-isort: https://github.com/gforcada/flake8-isort | ||
| * flake8-logging-format: https://github.com/globality-corp/flake8-logging-format | ||
| * flake8-mutable: https://github.com/ebeweber/flake8-mutable | ||
| * flake8-variables-names: https://github.com/best-doctor/flake8-variables-names | ||
| * pep8-naming: https://github.com/PyCQA/pep8-naming | ||
| * wemake-python-styleguide: https://github.com/wemake-services/wemake-python-styleguide | ||
| * Simple formatter | ||
@@ -142,2 +145,7 @@ | ||
| 2020.9.4 | ||
| ^^^^^^^^ | ||
| * Add ``whatalinter_vscode`` for Visual Studio Code integration | ||
| 2020.9.2 | ||
@@ -144,0 +152,0 @@ ^^^^^^^^ |
+9
-3
@@ -16,2 +16,3 @@ # -*- coding: utf-8 -*- | ||
| 'coverage>=5.0.0,<6.0.0', | ||
| 'darglint>=1.2,<2.0', | ||
| 'doc8>=0.8.0,<0.9.0', | ||
@@ -21,7 +22,9 @@ 'flake8-2020>=1.6.0,<2.0.0', | ||
| 'flake8-broken-line>=0.2.0,<0.3.0', | ||
| 'flake8-bugbear>=19.3,<20.0', | ||
| 'flake8-bugbear>=19.0,<20.0', | ||
| 'flake8-builtins>=1.4.0,<2.0.0', | ||
| 'flake8-commas>=2.0,<3.0', | ||
| 'flake8-comprehensions>=3.2.0,<4.0.0', | ||
| 'flake8-debugger>=3.2.0,<4.0.0', | ||
| 'flake8-docstrings>=1.5.0,<2.0.0', | ||
| 'flake8-eradicate>=0.3,<0.5', | ||
| 'flake8-fixme>=1.1.0,<2.0.0', | ||
@@ -31,2 +34,5 @@ 'flake8-isort>=3.0.1,<4', | ||
| 'flake8-mutable>=1.2.0,<2.0.0', | ||
| 'flake8-quotes>=2.0.1,<3.0.0', | ||
| 'flake8-rst-docstrings>=0.0.12,<0.0.13', | ||
| 'flake8-string-format>=0.2,<0.3', | ||
| 'flake8-variables-names>=0.0.3,<0.0.4', | ||
@@ -54,5 +60,5 @@ 'flake8>=3.8.0,<4.0.0', | ||
| 'name': 'python-dev-tools', | ||
| 'version': '2020.9.2', | ||
| 'version': '2020.9.4', | ||
| 'description': 'Needed and up-to-date tools to develop in Python', | ||
| 'long_description': 'Python Dev Tools\n================\n\nNeeded and up-to-date tools to develop in Python (*WORK IN PROGRESS*)\n\n\n.. image:: https://img.shields.io/pypi/v/python_dev_tools.svg\n :target: https://pypi.python.org/pypi/python_dev_tools\n\n.. image:: https://img.shields.io/pypi/l/python_dev_tools.svg\n :target: https://github.com/vpoulailleau/python_dev_tools/blob/master/LICENSE\n\n.. image:: https://travis-ci.com/vpoulailleau/python-dev-tools.svg?branch=master\n :target: https://travis-ci.com/vpoulailleau/python-dev-tools\n\n.. image:: https://readthedocs.org/projects/python-dev-tools/badge/?version=latest\n :target: https://python-dev-tools.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://pepy.tech/badge/python-dev-tools\n :target: https://pepy.tech/project/python-dev-tools\n :alt: Downloads\n\n.. image:: https://api.codeclimate.com/v1/badges/282fcd71714dabd6a847/test_coverage\n :target: https://codeclimate.com/github/vpoulailleau/python-dev-tools/test_coverage\n :alt: Test Coverage\n\n.. image:: https://api.codeclimate.com/v1/badges/282fcd71714dabd6a847/maintainability\n :target: https://codeclimate.com/github/vpoulailleau/python-dev-tools/maintainability\n :alt: Maintainability\n\n.. image:: https://bettercodehub.com/edge/badge/vpoulailleau/python-dev-tools?branch=master\n :target: https://bettercodehub.com/results/vpoulailleau/python-dev-tools\n :alt: Maintainability\n\n.. image:: https://img.shields.io/lgtm/grade/python/g/vpoulailleau/python-dev-tools.svg?logo=lgtm&logoWidth=1\n :target: https://lgtm.com/projects/g/vpoulailleau/python-dev-tools/context:python\n :alt: Maintainability\n\nDocumentation\n-------------\n\nThe full documentation can be read at https://python-dev-tools.readthedocs.io.\n\nInstallation\n------------\n\nIn a terminal, run:\n\n.. code-block:: console\n\n $ python3 -m pip install python-dev-tools --user --upgrade\n\nFull documentation on installation: https://python-dev-tools.readthedocs.io/en/latest/installation.html\n\nThat\'s it! Use the provided linter, formatter and precommit hook where\napplicable.\n\nInstallation with Visual Studio Code\n------------------------------------\n\n* Follow the installation procedure for python-dev-tools\n* Be sure to have the official Python extension installed in VS Code\n* In VS Code, open settings (F1 key, then type "Open Settings (JSON)",\n then enter)\n* Add in the opened JSON file:\n\n.. code:: javascript\n\n "python.linting.enabled": true,\n "python.linting.flake8Enabled": true,\n "python.linting.flake8Path": "flake8",\n "python.formatting.provider": "black",\n "python.formatting.blackPath": "whataformatter",\n "python.formatting.blackArgs": [],\n\n* Adapt the previous path according to your installation.\n\nFeatures\n--------\n\nIntegrate features of commonly used tools. This package provides usual\ndependencies to develop Python software.\n\n* Simple linter\n\n * ``whatalinter a_python_file.py`` lints a_python_file.py\n * output is compatible with the one of flake8 for\n easy integration in text editors and IDE\n * based on\n\n * pydocstyle: https://github.com/PyCQA/pydocstyle\n * flake8 and plugins: https://gitlab.com/pycqa/flake8\n\n * flake8-2020: https://github.com/asottile/flake8-2020\n * flake8-bandit: https://github.com/tylerwince/flake8-bandit\n * flake8-broken-line: https://github.com/sobolevn/flake8-broken-line\n * flake8-bugbear: https://github.com/PyCQA/flake8-bugbear\n * flake8-builtins: https://github.com/gforcada/flake8-builtins\n * flake8-comprehensions: https://github.com/adamchainz/flake8-comprehensions\n * flake8-debugger: https://github.com/JBKahn/flake8-debugger\n * flake8-docstrings: https://gitlab.com/pycqa/flake8-docstrings\n * flake8-fixme: https://github.com/tommilligan/flake8-fixme\n * flake8-isort: https://github.com/gforcada/flake8-isort\n * flake8-logging-format: https://github.com/globality-corp/flake8-logging-format\n * flake8-mutable: https://github.com/ebeweber/flake8-mutable\n * flake8-variables-names: https://github.com/best-doctor/flake8-variables-names\n * pep8-naming: https://github.com/PyCQA/pep8-naming\n * wemake-python-styleguide: https://github.com/wemake-services/wemake-python-styleguide\n\n* Simple formatter\n\n * ``whataformatter a_python_file.py`` formats a_python_file.py\n * based on\n\n * autoflake: https://github.com/myint/autoflake\n * black: https://github.com/python/black\n * pyupgrade: https://github.com/asottile/pyupgrade\n\n* Simple precommit hook\n\n * TODO\n\nLicense\n-------\n\nBSD 3-Clause license, feel free to contribute: https://python-dev-tools.readthedocs.io/en/latest/contributing.html.\n\nTODO\n----\n\n* documentation\n* precommit\n\nChangelog\n---------\n\n2020.9.2\n^^^^^^^^\n\n* Remove some warnings of ``wemake-python-styleguide``, for instance allow f-strings\n\n2020.9.1\n^^^^^^^^\n\n* Use ``poetry``\n* Remove redundant linters\n* Change max line length to 88 (default value of ``black``)\n* Replace ``pydocstyle`` with ``flake8-docstrings``\n* Add ``wemake-python-styleguide``\n\n2019.10.22\n^^^^^^^^^^\n\n* Add ``flake8-2020`` linter\n\n2019.07.21\n^^^^^^^^^^\n\n* Add ``--quiet`` and ``--diff`` flags to ``whataformatter`` for VS Code compatibility\n\n2019.07.20\n^^^^^^^^^^\n\n* Add ``black`` formatter\n* Add ``autoflake`` formatter\n* Add ``pyupgrade`` formatter\n\n2019.04.08\n^^^^^^^^^^\n\n* Add ``flake8`` linter\n* Add ``flake8-isort`` linter\n* Add ``pep8-naming`` linter\n* Add ``flake8-comprehensions`` linter\n* Add ``flake8-logging-format`` linter\n* Add ``flake8-bugbear`` linter\n* Add ``flake8-builtins`` linter\n* Add ``flake8-broken-line`` linter\n* Add ``flake8-fixme`` linter\n* Add ``flake8-mutable`` linter\n* Add ``flake8-debugger`` linter\n* Add ``flake8-variables-names`` linter\n* Add ``flake8-bandit`` linter\n\n2019.03.02\n^^^^^^^^^^\n\n* Add ``pydocstyle`` linter\n\n2019.03.01\n^^^^^^^^^^\n\n* Add McCabe complexity checker\n\n2019.02.26\n^^^^^^^^^^\n\n* Add ``pyflakes`` linter\n* Add ``pycodestyle`` linter\n\n2019.02.23\n^^^^^^^^^^\n\n* First release on PyPI.\n', | ||
| 'long_description': 'Python Dev Tools\n================\n\nNeeded and up-to-date tools to develop in Python (*WORK IN PROGRESS*)\n\n\n.. image:: https://img.shields.io/pypi/v/python_dev_tools.svg\n :target: https://pypi.python.org/pypi/python_dev_tools\n\n.. image:: https://img.shields.io/pypi/l/python_dev_tools.svg\n :target: https://github.com/vpoulailleau/python_dev_tools/blob/master/LICENSE\n\n.. image:: https://travis-ci.com/vpoulailleau/python-dev-tools.svg?branch=master\n :target: https://travis-ci.com/vpoulailleau/python-dev-tools\n\n.. image:: https://readthedocs.org/projects/python-dev-tools/badge/?version=latest\n :target: https://python-dev-tools.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://pepy.tech/badge/python-dev-tools\n :target: https://pepy.tech/project/python-dev-tools\n :alt: Downloads\n\n.. image:: https://api.codeclimate.com/v1/badges/282fcd71714dabd6a847/test_coverage\n :target: https://codeclimate.com/github/vpoulailleau/python-dev-tools/test_coverage\n :alt: Test Coverage\n\n.. image:: https://api.codeclimate.com/v1/badges/282fcd71714dabd6a847/maintainability\n :target: https://codeclimate.com/github/vpoulailleau/python-dev-tools/maintainability\n :alt: Maintainability\n\n.. image:: https://bettercodehub.com/edge/badge/vpoulailleau/python-dev-tools?branch=master\n :target: https://bettercodehub.com/results/vpoulailleau/python-dev-tools\n :alt: Maintainability\n\n.. image:: https://img.shields.io/lgtm/grade/python/g/vpoulailleau/python-dev-tools.svg?logo=lgtm&logoWidth=1\n :target: https://lgtm.com/projects/g/vpoulailleau/python-dev-tools/context:python\n :alt: Maintainability\n\nDocumentation\n-------------\n\nThe full documentation can be read at https://python-dev-tools.readthedocs.io.\n\nInstallation\n------------\n\nIn a terminal, run:\n\n.. code-block:: console\n\n $ python3 -m pip install python-dev-tools --user --upgrade\n\nFull documentation on installation: https://python-dev-tools.readthedocs.io/en/latest/installation.html\n\nThat\'s it! Use the provided linter (``whatalinter``), formatter (``whataformatter``) and\nprecommit hook (TODO) where applicable.\n\nInstallation with Visual Studio Code\n------------------------------------\n\n* Follow the installation procedure for python-dev-tools\n* Be sure to have the official Python extension installed in VS Code\n* Open VS Code from within your activated virtual environment (in fact, make sure that \n ``whatalinter_vscode`` is in your ``PYTHON_PATH``)\n* In VS Code, open settings (F1 key, then type "Open Settings (JSON)",\n then enter)\n* Add in the opened JSON file (before the closing ``}``):\n\n.. code:: javascript\n\n "python.linting.enabled": true,\n "python.linting.flake8Enabled": true,\n "python.linting.flake8Path": "whatalinter_vscode",\n "python.formatting.provider": "black",\n "python.formatting.blackPath": "black",\n "python.formatting.blackArgs": [],\n\nFeatures\n--------\n\nIntegrate features of commonly used tools. This package provides usual\ndependencies to develop Python software.\n\n* Simple linter\n\n * ``whatalinter a_python_file.py`` lints a_python_file.py\n * output is compatible with the one of flake8 for easy integration in text editors\n and IDE\n * based on flake8 and plugins: https://gitlab.com/pycqa/flake8\n\n * darglint: https://github.com/terrencepreilly/darglint\n * flake8-2020: https://github.com/asottile/flake8-2020\n * flake8-bandit: https://github.com/tylerwince/flake8-bandit\n * flake8-broken-line: https://github.com/sobolevn/flake8-broken-line\n * flake8-bugbear: https://github.com/PyCQA/flake8-bugbear\n * flake8-builtins: https://github.com/gforcada/flake8-builtins\n * flake8-commas: https://github.com/PyCQA/flake8-commas/\n * flake8-comprehensions: https://github.com/adamchainz/flake8-comprehensions\n * flake8-debugger: https://github.com/JBKahn/flake8-debugger\n * flake8-docstrings: https://gitlab.com/pycqa/flake8-docstrings\n * flake8-eradicate: https://github.com/sobolevn/flake8-eradicate\n * flake8-fixme: https://github.com/tommilligan/flake8-fixme\n * flake8-isort: https://github.com/gforcada/flake8-isort\n * flake8-logging-format: https://github.com/globality-corp/flake8-logging-format\n * flake8-mutable: https://github.com/ebeweber/flake8-mutable\n * flake8-quotes: https://github.com/zheller/flake8-quotes/\n * flake8-rst-docstrings: https://github.com/peterjc/flake8-rst-docstrings\n * flake8-string-format: https://github.com/xZise/flake8-string-format\n * flake8-variables-names: https://github.com/best-doctor/flake8-variables-names\n * pep8-naming: https://github.com/PyCQA/pep8-naming\n * wemake-python-styleguide: https://github.com/wemake-services/wemake-python-styleguide\n\n* Simple formatter\n\n * ``whataformatter a_python_file.py`` formats a_python_file.py\n * based on\n\n * autoflake: https://github.com/myint/autoflake\n * black: https://github.com/python/black\n * pyupgrade: https://github.com/asottile/pyupgrade\n\n* Simple precommit hook\n\n * TODO\n\nLicense\n-------\n\nBSD 3-Clause license, feel free to contribute: https://python-dev-tools.readthedocs.io/en/latest/contributing.html.\n\nTODO\n----\n\n* documentation\n* precommit\n\nChangelog\n---------\n\n2020.9.4\n^^^^^^^^\n\n* Add ``whatalinter_vscode`` for Visual Studio Code integration\n\n2020.9.2\n^^^^^^^^\n\n* Remove some warnings of ``wemake-python-styleguide``, for instance allow f-strings\n\n2020.9.1\n^^^^^^^^\n\n* Use ``poetry``\n* Remove redundant linters\n* Change max line length to 88 (default value of ``black``)\n* Replace ``pydocstyle`` with ``flake8-docstrings``\n* Add ``wemake-python-styleguide``\n\n2019.10.22\n^^^^^^^^^^\n\n* Add ``flake8-2020`` linter\n\n2019.07.21\n^^^^^^^^^^\n\n* Add ``--quiet`` and ``--diff`` flags to ``whataformatter`` for VS Code compatibility\n\n2019.07.20\n^^^^^^^^^^\n\n* Add ``black`` formatter\n* Add ``autoflake`` formatter\n* Add ``pyupgrade`` formatter\n\n2019.04.08\n^^^^^^^^^^\n\n* Add ``flake8`` linter\n* Add ``flake8-isort`` linter\n* Add ``pep8-naming`` linter\n* Add ``flake8-comprehensions`` linter\n* Add ``flake8-logging-format`` linter\n* Add ``flake8-bugbear`` linter\n* Add ``flake8-builtins`` linter\n* Add ``flake8-broken-line`` linter\n* Add ``flake8-fixme`` linter\n* Add ``flake8-mutable`` linter\n* Add ``flake8-debugger`` linter\n* Add ``flake8-variables-names`` linter\n* Add ``flake8-bandit`` linter\n\n2019.03.02\n^^^^^^^^^^\n\n* Add ``pydocstyle`` linter\n\n2019.03.01\n^^^^^^^^^^\n\n* Add McCabe complexity checker\n\n2019.02.26\n^^^^^^^^^^\n\n* Add ``pyflakes`` linter\n* Add ``pycodestyle`` linter\n\n2019.02.23\n^^^^^^^^^^\n\n* First release on PyPI.\n', | ||
| 'author': 'Vincent Poulailleau', | ||
@@ -59,0 +65,0 @@ 'author_email': 'vpoulailleau@gmail.com', |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
43551
7.14%19
5.56%510
5.37%