Skip to content

Commit

Permalink
Run ./manage.py pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
duncandewhurst committed Apr 19, 2022
1 parent fef94be commit 389e070
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 17 deletions.
19 changes: 15 additions & 4 deletions data_quality_feedback_template.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
},
"outputs": [],
"source": [
"import getpass\n",
"\n",
"log_url = ''\n",
"\n",
"if log_url != '':\n",
Expand All @@ -72,8 +74,6 @@
},
"outputs": [],
"source": [
"import getpass\n",
"\n",
"user = input('Username:')\n",
"password = getpass.getpass('Password:')"
]
Expand All @@ -99,7 +99,7 @@
"%shell pip install --upgrade 'ocdskingfishercolab<0.4' psycopg2-binary > pip.log\n",
"\n",
"# Install Scrapy Log Analyzer\n",
"pip install git+https://github.com/open-contracting/scrapy-log-analyzer.git\n",
"!pip install git+https://github.com/open-contracting/scrapy-log-analyzer.git\n",
"\n",
"# Import libraries and functions\n",
"import pandas as pd\n",
Expand Down Expand Up @@ -160,6 +160,17 @@
" axis.set_major_formatter(tkr.FuncFormatter(lambda x, pos: '{:,.0f}'.format(x)))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "sQL1XchVxUlp"
},
"outputs": [],
"source": [
"!"
]
},
{
"cell_type": "markdown",
"metadata": {
Expand Down Expand Up @@ -3266,7 +3277,7 @@
],
"metadata": {
"colab": {
"authorship_tag": "ABX9TyPNHL0X/U/czPOZW0el9YnT",
"authorship_tag": "ABX9TyPajfocnRv6KzHqBnH2Lywx",
"name": "setup_notebook",
"provenance": []
},
Expand Down
19 changes: 15 additions & 4 deletions meta_analysis_template.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
},
"outputs": [],
"source": [
"import getpass\n",
"\n",
"log_url = ''\n",
"\n",
"if log_url != '':\n",
Expand All @@ -72,8 +74,6 @@
},
"outputs": [],
"source": [
"import getpass\n",
"\n",
"user = input('Username:')\n",
"password = getpass.getpass('Password:')"
]
Expand All @@ -99,7 +99,7 @@
"%shell pip install --upgrade 'ocdskingfishercolab<0.4' psycopg2-binary > pip.log\n",
"\n",
"# Install Scrapy Log Analyzer\n",
"pip install git+https://github.com/open-contracting/scrapy-log-analyzer.git\n",
"!pip install git+https://github.com/open-contracting/scrapy-log-analyzer.git\n",
"\n",
"# Import libraries and functions\n",
"import pandas as pd\n",
Expand Down Expand Up @@ -159,11 +159,22 @@
"def format_thousands(axis):\n",
" axis.set_major_formatter(tkr.FuncFormatter(lambda x, pos: '{:,.0f}'.format(x)))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "sQL1XchVxUlp"
},
"outputs": [],
"source": [
"!"
]
}
],
"metadata": {
"colab": {
"authorship_tag": "ABX9TyPNHL0X/U/czPOZW0el9YnT",
"authorship_tag": "ABX9TyPajfocnRv6KzHqBnH2Lywx",
"name": "setup_notebook",
"provenance": []
},
Expand Down
19 changes: 15 additions & 4 deletions publisher_analysis_template.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
},
"outputs": [],
"source": [
"import getpass\n",
"\n",
"log_url = ''\n",
"\n",
"if log_url != '':\n",
Expand All @@ -72,8 +74,6 @@
},
"outputs": [],
"source": [
"import getpass\n",
"\n",
"user = input('Username:')\n",
"password = getpass.getpass('Password:')"
]
Expand All @@ -99,7 +99,7 @@
"%shell pip install --upgrade 'ocdskingfishercolab<0.4' psycopg2-binary > pip.log\n",
"\n",
"# Install Scrapy Log Analyzer\n",
"pip install git+https://github.com/open-contracting/scrapy-log-analyzer.git\n",
"!pip install git+https://github.com/open-contracting/scrapy-log-analyzer.git\n",
"\n",
"# Import libraries and functions\n",
"import pandas as pd\n",
Expand Down Expand Up @@ -160,6 +160,17 @@
" axis.set_major_formatter(tkr.FuncFormatter(lambda x, pos: '{:,.0f}'.format(x)))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "sQL1XchVxUlp"
},
"outputs": [],
"source": [
"!"
]
},
{
"cell_type": "markdown",
"metadata": {
Expand Down Expand Up @@ -1155,7 +1166,7 @@
],
"metadata": {
"colab": {
"authorship_tag": "ABX9TyPNHL0X/U/czPOZW0el9YnT",
"authorship_tag": "ABX9TyPajfocnRv6KzHqBnH2Lywx",
"name": "setup_notebook",
"provenance": []
},
Expand Down
2 changes: 1 addition & 1 deletion setup_environment.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,4 @@
"outputs": []
}
]
}
}
19 changes: 15 additions & 4 deletions structure_and_format_feedback_template.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
},
"outputs": [],
"source": [
"import getpass\n",
"\n",
"log_url = ''\n",
"\n",
"if log_url != '':\n",
Expand All @@ -72,8 +74,6 @@
},
"outputs": [],
"source": [
"import getpass\n",
"\n",
"user = input('Username:')\n",
"password = getpass.getpass('Password:')"
]
Expand All @@ -99,7 +99,7 @@
"%shell pip install --upgrade 'ocdskingfishercolab<0.4' psycopg2-binary > pip.log\n",
"\n",
"# Install Scrapy Log Analyzer\n",
"pip install git+https://github.com/open-contracting/scrapy-log-analyzer.git\n",
"!pip install git+https://github.com/open-contracting/scrapy-log-analyzer.git\n",
"\n",
"# Import libraries and functions\n",
"import pandas as pd\n",
Expand Down Expand Up @@ -160,6 +160,17 @@
" axis.set_major_formatter(tkr.FuncFormatter(lambda x, pos: '{:,.0f}'.format(x)))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "sQL1XchVxUlp"
},
"outputs": [],
"source": [
"!"
]
},
{
"cell_type": "markdown",
"metadata": {
Expand Down Expand Up @@ -1428,7 +1439,7 @@
],
"metadata": {
"colab": {
"authorship_tag": "ABX9TyPNHL0X/U/czPOZW0el9YnT",
"authorship_tag": "ABX9TyPajfocnRv6KzHqBnH2Lywx",
"name": "setup_notebook",
"provenance": []
},
Expand Down

0 comments on commit 389e070

Please sign in to comment.