mirror of
https://github.com/ArthurDanjou/ArtStudies.git
synced 2026-01-14 18:59:59 +01:00
Refactor code structure for improved readability and maintainability
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -308,7 +308,6 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"\n",
|
||||
"u = lambda x: np.sqrt((6 - x) ** 2 + 4)\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
||||
@@ -1106,7 +1106,6 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"\n",
|
||||
"fig, ax = plt.subplots(subplot_kw={\"projection\": \"3d\"})\n",
|
||||
"\n",
|
||||
"X = np.arange(-3, 3, 0.25)\n",
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"\n",
|
||||
"import numpy as np\n",
|
||||
"import matplotlib.pyplot as plt\n",
|
||||
"\n",
|
||||
|
||||
@@ -11,6 +11,7 @@ dependencies = [
|
||||
"opencv-python>=4.11.0.86",
|
||||
"pandas>=2.2.3",
|
||||
"scikit-learn>=1.6.1",
|
||||
"scipy>=1.15.2",
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
@@ -19,6 +20,10 @@ dev = [
|
||||
"uv>=0.6.16",
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
extend-include = ["*.ipynb"]
|
||||
line-length = 88
|
||||
|
||||
[tool.ruff.lint]
|
||||
# Activer les règles de linting courantes
|
||||
select = [
|
||||
@@ -36,9 +41,6 @@ ignore = [
|
||||
"E501", # line too long, géré par le formatter
|
||||
]
|
||||
|
||||
# Longueur de ligne
|
||||
line-length = 88
|
||||
|
||||
# Exclure certains fichiers ou répertoires
|
||||
exclude = [
|
||||
".bzr",
|
||||
|
||||
Reference in New Issue
Block a user