Skip to content

Commit

Permalink
Update ruff to 0.6.1
Browse files Browse the repository at this point in the history
Since 0.6.0, ruff checks also Jupyter notebook files by default:

https://astral.sh/blog/ruff-v0.6.0
  • Loading branch information
nsoranzo committed Aug 17, 2024
1 parent 19bc932 commit aeeef1d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/galaxy/dependencies/pinned-lint-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ flake8-bugbear==24.4.26
mccabe==0.7.0
pycodestyle==2.12.0
pyflakes==3.2.0
ruff==0.5.1
ruff==0.6.1
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
"source": [
"# optional step that shows how to access ActionChains\n",
"\n",
"from selenium import webdriver\n",
"from selenium.webdriver.common.action_chains import ActionChains\n",
"ac = ActionChains(gx_selenium_context.driver)"
]
Expand Down
6 changes: 3 additions & 3 deletions test-data/selenium-test-notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}
],
"source": [
"get(1)"
"get(1) # noqa: F821"
]
},
{
Expand Down Expand Up @@ -85,7 +85,7 @@
},
"outputs": [],
"source": [
"put(\"/tmp/cow\")"
"put(\"/tmp/cow\") # noqa: F821"
]
},
{
Expand Down Expand Up @@ -115,7 +115,7 @@
},
"outputs": [],
"source": [
"put(\"/import/ipython_galaxy_notebook.ipynb\")"
"put(\"/import/ipython_galaxy_notebook.ipynb\") # noqa: F821"
]
},
{
Expand Down

0 comments on commit aeeef1d

Please sign in to comment.