Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mccurcio/f9181d52092bd3c4c5a4ec5b495cd0c8 to your computer and use it in GitHub Desktop.
Save mccurcio/f9181d52092bd3c4c5a4ec5b495cd0c8 to your computer and use it in GitHub Desktop.
pip install pycodestyle pycodestyle_magic.ipynb
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"metadata": {
"trusted": false
},
"id": "c035f20e",
"cell_type": "code",
"source": "!pip install pycodestyle pycodestyle_magic",
"execution_count": 4,
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": "Requirement already satisfied: pycodestyle in /home/mcc/anaconda3/lib/python3.9/site-packages (2.7.0)\r\nRequirement already satisfied: pycodestyle_magic in /home/mcc/anaconda3/lib/python3.9/site-packages (0.5)\r\n"
}
]
},
{
"metadata": {
"trusted": false
},
"id": "c37656c9",
"cell_type": "code",
"source": "%load_ext pycodestyle_magic",
"execution_count": 2,
"outputs": []
},
{
"metadata": {
"trusted": false
},
"id": "aff85373",
"cell_type": "code",
"source": "%%pycodestyle\na = 1",
"execution_count": 9,
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": "3:1: W391 blank line at end of file\n"
}
]
},
{
"metadata": {
"trusted": false
},
"id": "802cf572",
"cell_type": "code",
"source": "!pip install jupyterlab-lsp\n!pip install 'python-lsp-server[all]'",
"execution_count": 11,
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": "Collecting jupyterlab-lsp\n Downloading jupyterlab_lsp-3.10.1-py3-none-any.whl (550 kB)\n\u001b[2K \u001b[38;2;114;156;31m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m550.4/550.4 kB\u001b[0m \u001b[31m3.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m[36m0:00:01\u001b[0m[36m0:00:01\u001b[0m:01\u001b[0m\n\u001b[?25hCollecting jupyter-lsp>=1.4.0\n Downloading jupyter_lsp-1.5.1-py3-none-any.whl (54 kB)\n\u001b[2K \u001b[38;2;114;156;31m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m54.0/54.0 kB\u001b[0m \u001b[31m3.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n\u001b[?25hRequirement already satisfied: jupyterlab<4.0.0a0,>=3.1.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyterlab-lsp) (3.4.4)\nRequirement already satisfied: entrypoints in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyter-lsp>=1.4.0->jupyterlab-lsp) (0.4)\nRequirement already satisfied: jupyter-server>=1.1.2 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyter-lsp>=1.4.0->jupyterlab-lsp) (1.18.1)\nRequirement already satisfied: ipython in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (8.4.0)\nRequirement already satisfied: notebook<7 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (6.4.12)\nRequirement already satisfied: jupyter-core in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (4.10.0)\nRequirement already satisfied: packaging in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (21.3)\nRequirement already satisfied: jupyterlab-server~=2.10 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (2.10.3)\nRequirement already satisfied: tornado>=6.1.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (6.1)\nRequirement already satisfied: jinja2>=2.1 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (2.11.3)\nRequirement already satisfied: nbclassic in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (0.3.5)\nRequirement already satisfied: MarkupSafe>=0.23 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jinja2>=2.1->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (2.0.1)\nRequirement already satisfied: argon2-cffi in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (21.3.0)\nRequirement already satisfied: jupyter-client>=6.1.12 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (6.1.12)\nRequirement already satisfied: Send2Trash in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (1.8.0)\nRequirement already satisfied: terminado>=0.8.3 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (0.13.1)\nRequirement already satisfied: pyzmq>=17 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (23.2.0)\nRequirement already satisfied: prometheus-client in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (0.14.1)\nRequirement already satisfied: nbconvert>=6.4.4 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (6.4.4)\nRequirement already satisfied: anyio<4,>=3.1.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (3.5.0)\nRequirement already satisfied: websocket-client in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (0.58.0)\nRequirement already satisfied: traitlets>=5.1 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (5.1.1)\nRequirement already satisfied: nbformat>=5.2.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (5.3.0)\nRequirement already satisfied: jsonschema>=3.0.1 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyterlab-server~=2.10->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (4.4.0)\nRequirement already satisfied: json5 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyterlab-server~=2.10->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (0.9.6)\nRequirement already satisfied: babel in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyterlab-server~=2.10->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (2.9.1)\nRequirement already satisfied: requests in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyterlab-server~=2.10->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (2.27.1)\nRequirement already satisfied: nest-asyncio>=1.5 in /home/mcc/anaconda3/lib/python3.9/site-packages (from notebook<7->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (1.5.5)\nRequirement already satisfied: ipython-genutils in /home/mcc/anaconda3/lib/python3.9/site-packages (from notebook<7->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (0.2.0)\nRequirement already satisfied: ipykernel in /home/mcc/anaconda3/lib/python3.9/site-packages (from notebook<7->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (6.9.1)\nRequirement already satisfied: pygments>=2.4.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from ipython->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (2.11.2)\nRequirement already satisfied: pexpect>4.3 in /home/mcc/anaconda3/lib/python3.9/site-packages (from ipython->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (4.8.0)\nRequirement already satisfied: setuptools>=18.5 in /home/mcc/anaconda3/lib/python3.9/site-packages (from ipython->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (61.2.0)\nRequirement already satisfied: backcall in /home/mcc/anaconda3/lib/python3.9/site-packages (from ipython->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (0.2.0)\nRequirement already satisfied: pickleshare in /home/mcc/anaconda3/lib/python3.9/site-packages (from ipython->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (0.7.5)\nRequirement already satisfied: stack-data in /home/mcc/anaconda3/lib/python3.9/site-packages (from ipython->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (0.2.0)\nRequirement already satisfied: matplotlib-inline in /home/mcc/anaconda3/lib/python3.9/site-packages (from ipython->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (0.1.2)\nRequirement already satisfied: decorator in /home/mcc/anaconda3/lib/python3.9/site-packages (from ipython->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (5.1.1)\nRequirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from ipython->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (3.0.20)\nRequirement already satisfied: jedi>=0.16 in /home/mcc/anaconda3/lib/python3.9/site-packages (from ipython->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (0.18.1)\nRequirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /home/mcc/anaconda3/lib/python3.9/site-packages (from packaging->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (3.0.4)\nRequirement already satisfied: sniffio>=1.1 in /home/mcc/anaconda3/lib/python3.9/site-packages (from anyio<4,>=3.1.0->jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (1.2.0)\nRequirement already satisfied: idna>=2.8 in /home/mcc/anaconda3/lib/python3.9/site-packages (from anyio<4,>=3.1.0->jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (3.3)\nRequirement already satisfied: parso<0.9.0,>=0.8.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jedi>=0.16->ipython->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (0.8.3)\nRequirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jsonschema>=3.0.1->jupyterlab-server~=2.10->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (0.18.0)\nRequirement already satisfied: attrs>=17.4.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jsonschema>=3.0.1->jupyterlab-server~=2.10->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (21.4.0)\nRequirement already satisfied: python-dateutil>=2.1 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jupyter-client>=6.1.12->jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (2.8.2)\n"
},
{
"name": "stdout",
"output_type": "stream",
"text": "Requirement already satisfied: defusedxml in /home/mcc/anaconda3/lib/python3.9/site-packages (from nbconvert>=6.4.4->jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (0.7.1)\nRequirement already satisfied: pandocfilters>=1.4.1 in /home/mcc/anaconda3/lib/python3.9/site-packages (from nbconvert>=6.4.4->jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (1.5.0)\nRequirement already satisfied: testpath in /home/mcc/anaconda3/lib/python3.9/site-packages (from nbconvert>=6.4.4->jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (0.6.0)\nRequirement already satisfied: beautifulsoup4 in /home/mcc/anaconda3/lib/python3.9/site-packages (from nbconvert>=6.4.4->jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (4.11.1)\nRequirement already satisfied: nbclient<0.6.0,>=0.5.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from nbconvert>=6.4.4->jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (0.5.13)\nRequirement already satisfied: mistune<2,>=0.8.1 in /home/mcc/anaconda3/lib/python3.9/site-packages (from nbconvert>=6.4.4->jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (0.8.4)\nRequirement already satisfied: jupyterlab-pygments in /home/mcc/anaconda3/lib/python3.9/site-packages (from nbconvert>=6.4.4->jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (0.1.2)\nRequirement already satisfied: bleach in /home/mcc/anaconda3/lib/python3.9/site-packages (from nbconvert>=6.4.4->jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (4.1.0)\nRequirement already satisfied: fastjsonschema in /home/mcc/anaconda3/lib/python3.9/site-packages (from nbformat>=5.2.0->jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (2.15.1)\nRequirement already satisfied: ptyprocess>=0.5 in /home/mcc/anaconda3/lib/python3.9/site-packages (from pexpect>4.3->ipython->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (0.7.0)\nRequirement already satisfied: wcwidth in /home/mcc/anaconda3/lib/python3.9/site-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (0.2.5)\nRequirement already satisfied: argon2-cffi-bindings in /home/mcc/anaconda3/lib/python3.9/site-packages (from argon2-cffi->jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (21.2.0)\nRequirement already satisfied: pytz>=2015.7 in /home/mcc/anaconda3/lib/python3.9/site-packages (from babel->jupyterlab-server~=2.10->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (2022.1)\nRequirement already satisfied: debugpy<2.0,>=1.0.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from ipykernel->notebook<7->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (1.5.1)\nRequirement already satisfied: charset-normalizer~=2.0.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from requests->jupyterlab-server~=2.10->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (2.0.4)\nRequirement already satisfied: certifi>=2017.4.17 in /home/mcc/anaconda3/lib/python3.9/site-packages (from requests->jupyterlab-server~=2.10->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (2022.6.15)\nRequirement already satisfied: urllib3<1.27,>=1.21.1 in /home/mcc/anaconda3/lib/python3.9/site-packages (from requests->jupyterlab-server~=2.10->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (1.26.11)\nRequirement already satisfied: asttokens in /home/mcc/anaconda3/lib/python3.9/site-packages (from stack-data->ipython->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (2.0.5)\nRequirement already satisfied: executing in /home/mcc/anaconda3/lib/python3.9/site-packages (from stack-data->ipython->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (0.8.3)\nRequirement already satisfied: pure-eval in /home/mcc/anaconda3/lib/python3.9/site-packages (from stack-data->ipython->jupyterlab<4.0.0a0,>=3.1.0->jupyterlab-lsp) (0.2.2)\nRequirement already satisfied: six in /home/mcc/anaconda3/lib/python3.9/site-packages (from websocket-client->jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (1.16.0)\nRequirement already satisfied: cffi>=1.0.1 in /home/mcc/anaconda3/lib/python3.9/site-packages (from argon2-cffi-bindings->argon2-cffi->jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (1.15.1)\nRequirement already satisfied: soupsieve>1.2 in /home/mcc/anaconda3/lib/python3.9/site-packages (from beautifulsoup4->nbconvert>=6.4.4->jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (2.3.1)\nRequirement already satisfied: webencodings in /home/mcc/anaconda3/lib/python3.9/site-packages (from bleach->nbconvert>=6.4.4->jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (0.5.1)\nRequirement already satisfied: pycparser in /home/mcc/anaconda3/lib/python3.9/site-packages (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi->jupyter-server>=1.1.2->jupyter-lsp>=1.4.0->jupyterlab-lsp) (2.21)\nInstalling collected packages: jupyter-lsp, jupyterlab-lsp\nSuccessfully installed jupyter-lsp-1.5.1 jupyterlab-lsp-3.10.1\nRequirement already satisfied: python-lsp-server[all] in /home/mcc/anaconda3/lib/python3.9/site-packages (1.2.4)\nRequirement already satisfied: jedi<0.19.0,>=0.17.2 in /home/mcc/anaconda3/lib/python3.9/site-packages (from python-lsp-server[all]) (0.18.1)\nRequirement already satisfied: python-lsp-jsonrpc>=1.0.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from python-lsp-server[all]) (1.0.0)\nRequirement already satisfied: pluggy in /home/mcc/anaconda3/lib/python3.9/site-packages (from python-lsp-server[all]) (1.0.0)\nRequirement already satisfied: ujson>=3.0.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from python-lsp-server[all]) (5.4.0)\nRequirement already satisfied: setuptools>=39.0.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from python-lsp-server[all]) (61.2.0)\nRequirement already satisfied: autopep8 in /home/mcc/anaconda3/lib/python3.9/site-packages (from python-lsp-server[all]) (1.6.0)\nRequirement already satisfied: flake8<4.0.0,>=3.8.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from python-lsp-server[all]) (3.9.2)\nRequirement already satisfied: mccabe<0.7.0,>=0.6.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from python-lsp-server[all]) (0.6.1)\nRequirement already satisfied: pycodestyle>=2.7.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from python-lsp-server[all]) (2.7.0)\nRequirement already satisfied: pydocstyle>=2.0.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from python-lsp-server[all]) (6.1.1)\nRequirement already satisfied: pyflakes<2.4.0,>=2.3.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from python-lsp-server[all]) (2.3.1)\nRequirement already satisfied: pylint<2.10.0,>=2.5.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from python-lsp-server[all]) (2.9.6)\nRequirement already satisfied: rope>=0.10.5 in /home/mcc/anaconda3/lib/python3.9/site-packages (from python-lsp-server[all]) (0.22.0)\nRequirement already satisfied: yapf in /home/mcc/anaconda3/lib/python3.9/site-packages (from python-lsp-server[all]) (0.31.0)\nRequirement already satisfied: parso<0.9.0,>=0.8.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from jedi<0.19.0,>=0.17.2->python-lsp-server[all]) (0.8.3)\nRequirement already satisfied: snowballstemmer in /home/mcc/anaconda3/lib/python3.9/site-packages (from pydocstyle>=2.0.0->python-lsp-server[all]) (2.2.0)\nRequirement already satisfied: toml>=0.7.1 in /home/mcc/anaconda3/lib/python3.9/site-packages (from pylint<2.10.0,>=2.5.0->python-lsp-server[all]) (0.10.2)\nRequirement already satisfied: astroid<2.7,>=2.6.5 in /home/mcc/anaconda3/lib/python3.9/site-packages (from pylint<2.10.0,>=2.5.0->python-lsp-server[all]) (2.6.6)\nRequirement already satisfied: isort<6,>=4.2.5 in /home/mcc/anaconda3/lib/python3.9/site-packages (from pylint<2.10.0,>=2.5.0->python-lsp-server[all]) (5.9.3)\nCollecting autopep8\n Downloading autopep8-1.5.7-py2.py3-none-any.whl (45 kB)\n\u001b[2K \u001b[38;2;114;156;31m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m45.0/45.0 kB\u001b[0m \u001b[31m2.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n\u001b[?25hRequirement already satisfied: lazy-object-proxy>=1.4.0 in /home/mcc/anaconda3/lib/python3.9/site-packages (from astroid<2.7,>=2.6.5->pylint<2.10.0,>=2.5.0->python-lsp-server[all]) (1.6.0)\nRequirement already satisfied: wrapt<1.13,>=1.11 in /home/mcc/anaconda3/lib/python3.9/site-packages (from astroid<2.7,>=2.6.5->pylint<2.10.0,>=2.5.0->python-lsp-server[all]) (1.12.1)\n"
},
{
"name": "stdout",
"output_type": "stream",
"text": "Installing collected packages: autopep8\n Attempting uninstall: autopep8\n Found existing installation: autopep8 1.6.0\n Uninstalling autopep8-1.6.0:\n Successfully uninstalled autopep8-1.6.0\nSuccessfully installed autopep8-1.5.7\n"
}
]
},
{
"metadata": {
"trusted": false
},
"id": "aed0e365",
"cell_type": "code",
"source": "!conda install -c conda-forge jupyter_contrib_nbextensions",
"execution_count": null,
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": "Collecting package metadata (current_repodata.json): done\nSolving environment: done\n\n## Package Plan ##\n\n environment location: /home/mcc/anaconda3\n\n added / updated specs:\n - jupyter_contrib_nbextensions\n\n\nThe following packages will be downloaded:\n\n package | build\n ---------------------------|-----------------\n ca-certificates-2022.6.15 | ha878542_0 149 KB conda-forge\n certifi-2022.6.15 | py39hf3d152e_0 155 KB conda-forge\n conda-4.13.0 | py39hf3d152e_1 998 KB conda-forge\n jupyter_contrib_core-0.4.0 | pyhd8ed1ab_0 18 KB conda-forge\n jupyter_contrib_nbextensions-0.5.1| pyhd8ed1ab_2 19.5 MB conda-forge\n jupyter_highlight_selected_word-0.2.0|py39hf3d152e_1005 15 KB conda-forge\n jupyter_latex_envs-1.4.6 | pyhd8ed1ab_1002 735 KB conda-forge\n jupyter_nbextensions_configurator-0.4.1| py39hf3d152e_2 471 KB conda-forge\n python_abi-3.9 | 2_cp39 4 KB conda-forge\n ------------------------------------------------------------\n Total: 22.0 MB\n\nThe following NEW packages will be INSTALLED:\n\n jupyter_contrib_c~ conda-forge/noarch::jupyter_contrib_core-0.4.0-pyhd8ed1ab_0\n jupyter_contrib_n~ conda-forge/noarch::jupyter_contrib_nbextensions-0.5.1-pyhd8ed1ab_2\n jupyter_highlight~ conda-forge/linux-64::jupyter_highlight_selected_word-0.2.0-py39hf3d152e_1005\n jupyter_latex_envs conda-forge/noarch::jupyter_latex_envs-1.4.6-pyhd8ed1ab_1002\n jupyter_nbextensi~ conda-forge/linux-64::jupyter_nbextensions_configurator-0.4.1-py39hf3d152e_2\n python_abi conda-forge/linux-64::python_abi-3.9-2_cp39\n\nThe following packages will be UPDATED:\n\n conda pkgs/main::conda-4.13.0-py39h06a4308_0 --> conda-forge::conda-4.13.0-py39hf3d152e_1\n\nThe following packages will be SUPERSEDED by a higher-priority channel:\n\n ca-certificates pkgs/main::ca-certificates-2022.07.19~ --> conda-forge::ca-certificates-2022.6.15-ha878542_0\n certifi pkgs/main::certifi-2022.6.15-py39h06a~ --> conda-forge::certifi-2022.6.15-py39hf3d152e_0\n\n\nProceed ([y]/n)? "
}
]
},
{
"metadata": {
"trusted": false
},
"id": "8f66e75b",
"cell_type": "code",
"source": "",
"execution_count": null,
"outputs": []
}
],
"metadata": {
"kernelspec": {
"name": "python3",
"display_name": "Python 3 (ipykernel)",
"language": "python"
},
"language_info": {
"name": "python",
"version": "3.9.12",
"mimetype": "text/x-python",
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"pygments_lexer": "ipython3",
"nbconvert_exporter": "python",
"file_extension": ".py"
},
"gist": {
"id": "",
"data": {
"description": "pip install pycodestyle pycodestyle_magic.ipynb",
"public": true
}
}
},
"nbformat": 4,
"nbformat_minor": 5
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment