From 7b1819d2565b84137a52631446ae7d3e9923bfde Mon Sep 17 00:00:00 2001 From: "VINCENT, LIONEL" Date: Tue, 17 Sep 2024 15:48:13 +0200 Subject: [PATCH] fix linting --- setup.py | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/setup.py b/setup.py index da422a9e..b83d138c 100644 --- a/setup.py +++ b/setup.py @@ -1,22 +1,26 @@ -from setuptools import setup, find_packages +from setuptools import find_packages, setup # Build the long description from the README.md file with open("README.md", "r") as readme: long_description = readme.read() + # Build the requirements list from the requirements.txt file -with open('requirements.txt') as requirements: +with open("requirements.txt") as requirements: required = requirements.read().splitlines() + # Instal the sources as a lib setup( name="py4cast", - version="0.1.0", + # version="0.1.0", # Should py4cast have a version number ? author="PN-IA Météo France", - description="Library to train a variety of Neural Network architectures " - "on various weather forecasting datasets.", + description=( + "Library to train a variety of Neural Network architectures " + "on various weather forecasting datasets." + ), long_description=long_description, packages=find_packages(), - python_requires='>=3.10', - install_requires=required + python_requires=">=3.10", + install_requires=required, )