Skip to content

Commit

Permalink
Fix issues reported by the linter
Browse files Browse the repository at this point in the history
`flake8` reported these issues, which are fixed by this commit:

```
setup.py:19:1: F401 'sys' imported but unused
setup.py:34:80: E501 line too long (84 > 79 characters)
setup.py:48:80: E501 line too long (84 > 79 characters)
```

References: BAR-133.

Signed-off-by: Israel Barth Rubio <israel.barth@enterprisedb.com>
  • Loading branch information
barthisrael committed Nov 23, 2023
1 parent d02d876 commit 258f2a4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pg_backup_api/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
# You should have received a copy of the GNU General Public License
# along with Postgres Backup API. If not, see <http://www.gnu.org/licenses/>.

import sys
from setuptools import setup, find_packages

NAME = "pg-backup-api"
Expand All @@ -31,7 +30,8 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["barman>=2.19,<4.0.0", "Flask>=0.10.1,<3.0.0", "requests>=2.0.0,<3.0.0"]
REQUIRES = ["barman>=2.19,<4.0.0", "Flask>=0.10.1,<3.0.0",
"requests>=2.0.0,<3.0.0"]

setup(
name=NAME,
Expand All @@ -45,7 +45,9 @@
install_requires=REQUIRES,
packages=find_packages(exclude=["tests"]),
include_package_data=True,
entry_points={"console_scripts": ["pg-backup-api=pg_backup_api.__main__:main"]},
entry_points={
"console_scripts": ["pg-backup-api=pg_backup_api.__main__:main"],
},
license="GPL-3.0",
long_description="""\
A server that provides an HTTP API to interact with Postgres backups
Expand Down

0 comments on commit 258f2a4

Please sign in to comment.