Skip to content

Commit

Permalink
ci: pre-commit autoupdate (#470)
Browse files Browse the repository at this point in the history
* ci: pre-commit autoupdate

updates:
- [github.com/kynan/nbstripout: 0.6.1 → 0.7.1](kynan/nbstripout@0.6.1...0.7.1)
- [github.com/astral-sh/ruff-pre-commit: v0.1.14 → v0.2.1](astral-sh/ruff-pre-commit@v0.1.14...v0.2.1)

* ci: auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix(ci): resolve issues from SIM113

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Markus Bilz <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and KarelZe authored Feb 15, 2024
1 parent 3f8dc5d commit 2da786f
Show file tree
Hide file tree
Showing 7 changed files with 117 additions and 119 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ci:
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
rev: 0.7.1
hooks:
- id: nbstripout
# - repo: https://github.com/cmhughes/latexindent.pl.git
Expand Down Expand Up @@ -43,7 +43,7 @@ repos:
# # Similar to: https://stackoverflow.com/a/73603491/5755604
# additional_dependencies: ['types-PyYAML']
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.14
rev: v0.2.1
hooks:
- id: ruff
args:
Expand Down
64 changes: 32 additions & 32 deletions notebooks/3.0b-mb-explanatory-matched-unmatched.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d7dc383f-b32d-47c7-b71a-fb15952a1626",
"id": "0",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -33,7 +33,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "77a11cab-b8ac-46e4-96b2-6f77a9eae327",
"id": "1",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -44,7 +44,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c5a14fc8-7c96-4c36-b31b-3794978ba628",
"id": "2",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -58,7 +58,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "45a3a0c7-eb23-4e71-8607-0a8e3d164c8b",
"id": "3",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -96,7 +96,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c8cf3f0f-202b-451e-9b8b-1be9deb0293b",
"id": "4",
"metadata": {
"tags": []
},
Expand All @@ -108,7 +108,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "129fdf84-e9a3-4a29-8929-c06c4b184318",
"id": "5",
"metadata": {
"tags": []
},
Expand All @@ -120,7 +120,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "6e874db6-74ec-4794-921e-dc9c07b62943",
"id": "6",
"metadata": {
"tags": []
},
Expand All @@ -132,7 +132,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "53b22aae-fbb4-4cf5-a320-f3e4b31bf7c9",
"id": "7",
"metadata": {
"tags": []
},
Expand All @@ -145,7 +145,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "ac5b942b-9025-414b-8be1-ac3b295e14df",
"id": "8",
"metadata": {
"tags": []
},
Expand All @@ -157,7 +157,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "bd90481a-667c-4a30-a579-e143c59e988a",
"id": "9",
"metadata": {
"tags": []
},
Expand All @@ -169,7 +169,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "7cf74de4-f83e-4493-8d64-ef5397ce1254",
"id": "10",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -210,7 +210,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "249ee50a-8eb6-4a23-9f0b-c7f19a319fd4",
"id": "11",
"metadata": {
"tags": []
},
Expand All @@ -222,7 +222,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "23cd5f22-9b50-4ff1-86ed-5fb37358f05b",
"id": "12",
"metadata": {
"tags": []
},
Expand All @@ -239,7 +239,7 @@
{
"attachments": {},
"cell_type": "markdown",
"id": "ad322fe1-aec2-4302-9c15-f1e9fb6a6e33",
"id": "13",
"metadata": {},
"source": [
"## Proximity to Quotes"
Expand All @@ -248,7 +248,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "fa97edf4-d3db-44f2-9213-4d547bddaaf3",
"id": "14",
"metadata": {
"tags": []
},
Expand All @@ -266,7 +266,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "203ea7e7-6de7-4390-a43d-2643395bf434",
"id": "15",
"metadata": {
"tags": []
},
Expand All @@ -280,7 +280,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9c8f79c1-8c7d-43b3-8cce-3d492115b8e1",
"id": "16",
"metadata": {
"tags": []
},
Expand All @@ -292,7 +292,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "4bd33a2d-acb5-412b-b0a4-777304f0db95",
"id": "17",
"metadata": {
"tags": []
},
Expand All @@ -306,7 +306,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "f1bdb354-4cab-4d71-8746-85bda6dc06d9",
"id": "18",
"metadata": {
"tags": []
},
Expand All @@ -318,7 +318,7 @@
{
"attachments": {},
"cell_type": "markdown",
"id": "c04fce28-98ea-493e-8276-d132a2ada5b9",
"id": "19",
"metadata": {},
"source": [
"## Bid Size == Trade Size || Ask Size == Trade Size"
Expand All @@ -327,7 +327,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "49f8ca48-7ff7-443d-acf9-39b05b207835",
"id": "20",
"metadata": {
"tags": []
},
Expand All @@ -342,7 +342,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "fa1c88ce-1052-453c-b627-088832ce927a",
"id": "21",
"metadata": {
"tags": []
},
Expand All @@ -354,7 +354,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "cfcd9b0f-f6b8-4cdb-bc68-aa09d324d4d2",
"id": "22",
"metadata": {
"tags": []
},
Expand All @@ -369,7 +369,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "01e36c02-0bdc-40e9-90b8-b11a0240a7c6",
"id": "23",
"metadata": {
"tags": []
},
Expand All @@ -381,7 +381,7 @@
{
"attachments": {},
"cell_type": "markdown",
"id": "12cc9fbc-56a0-4aff-b6ee-b1857e011b05",
"id": "24",
"metadata": {},
"source": [
"## Absolute Spread"
Expand All @@ -390,7 +390,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9c488948-02eb-4d34-810f-571eb78e2472",
"id": "25",
"metadata": {
"tags": []
},
Expand All @@ -404,7 +404,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0801dd43-86fc-419b-90c6-d12f038beb40",
"id": "26",
"metadata": {
"tags": []
},
Expand All @@ -417,7 +417,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d2ed2505-a384-4a44-a13d-e2649b11804e",
"id": "27",
"metadata": {
"tags": []
},
Expand All @@ -429,7 +429,7 @@
{
"attachments": {},
"cell_type": "markdown",
"id": "a1e64883-dcfe-498e-929b-aca29ac5daf8",
"id": "28",
"metadata": {},
"source": [
"## Delta to previous / next trade price"
Expand All @@ -438,7 +438,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "535d9e5b-6d96-4472-9f64-ca1a9528c5ed",
"id": "29",
"metadata": {
"tags": []
},
Expand All @@ -451,7 +451,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "793fcff1-0509-4f84-b277-4fb40216bf75",
"id": "30",
"metadata": {
"tags": []
},
Expand All @@ -464,7 +464,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "165ccd9d-3cd1-44bc-af1e-7308db9413f5",
"id": "31",
"metadata": {
"tags": []
},
Expand Down
18 changes: 9 additions & 9 deletions notebooks/4.0a-mb-logistic-regression.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "98b853e9-a97e-4a0b-b1af-1bd0ede09c77",
"id": "0",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -33,7 +33,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e9361c4b-0819-45a0-b9a4-5089914cd280",
"id": "1",
"metadata": {
"tags": []
},
Expand All @@ -45,7 +45,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "19a63a56-6aff-4459-9765-1242403443b5",
"id": "2",
"metadata": {
"tags": []
},
Expand All @@ -61,7 +61,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "13bf75ce-b0b4-4198-9be7-f0da4e699f60",
"id": "3",
"metadata": {
"tags": []
},
Expand All @@ -87,7 +87,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "56360209-b30d-47a1-bb88-c34112178ecb",
"id": "4",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -107,7 +107,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "2c271935-f54d-4b6d-a51c-423c5d5d2818",
"id": "5",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -143,7 +143,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "359c2ccf-8984-4ce1-ae41-f1dcb0ae3d2d",
"id": "6",
"metadata": {
"tags": []
},
Expand All @@ -164,7 +164,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "a57c959b-29fa-4329-a1d5-c05bea812dcc",
"id": "7",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -257,7 +257,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "6b73fd9d-9260-4866-9cb5-0928dcece535",
"id": "8",
"metadata": {
"tags": []
},
Expand Down
Loading

0 comments on commit 2da786f

Please sign in to comment.