mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-09-29 17:08:49 +08:00
ruff rule ANN202 missing-return-type-private-function (#15298)
* ruff rule ANN202 missing-return-type-private-function * ruff rule ANN202 missing-return-type-private-function
This commit is contained in:
@@ -6,7 +6,7 @@ from sklearn.metrics import mean_absolute_error, mean_squared_error
|
||||
from sklearn.model_selection import train_test_split
|
||||
|
||||
|
||||
def main():
|
||||
def main() -> None:
|
||||
"""
|
||||
Random Forest Regressor Example using sklearn function.
|
||||
The diabetes dataset is used to demonstrate the algorithm.
|
||||
|
||||
Reference in New Issue
Block a user