From 17ec9cd44a8ba90dc255787c27067dc4c5cd0604 Mon Sep 17 00:00:00 2001 From: atopilski Date: Thu, 7 Jan 2021 06:03:16 -0500 Subject: [PATCH] Pre commit --- .pre-commit-config.yaml | 9 +++++++++ setup.py | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..6c29829 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,9 @@ +repos: + - repo: https://github.com/pycqa/pylint + rev: pylint-2.6.0 + hooks: + - id: pylint + args: + - --max-line-length=80 + - --ignore-imports=yes + - -d duplicate-code diff --git a/setup.py b/setup.py index 722067e..8677447 100644 --- a/setup.py +++ b/setup.py @@ -17,12 +17,12 @@ DESCRIPTION = 'FastoGT python files.' URL = 'https://github.com/fastogt/pyfastogt' EMAIL = 'support@fastogt.com' AUTHOR = 'Alexandr Topilski' -REQUIRES_PYTHON = '>=3.0.0' +REQUIRES_PYTHON = '>=3.6' VERSION = '1.2.0' # What packages are required for this module to be executed? REQUIRED = [ - 'dnspython<2.0.0,>=1.15.0', + 'dnspython', 'email-validator', 'distro', 'certifi',