From 876e4a98feaaf3ba1d10ac15a3a469ad733379a9 Mon Sep 17 00:00:00 2001 From: Marcel Wilson Date: Wed, 12 Jun 2024 03:07:59 -0500 Subject: [PATCH] Contribution cleanup (#1412) * adding pylint to requirements-dev.txt * fixing package name references * removing invalid black configuration * adding mypy to requirements-dev.txt * adding bandit & doc8 to requirements-dev.txt --- pyproject.toml | 3 +-- requirements-dev.txt | 4 ++++ requirements.txt | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 50fd690f9..26ed17880 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,6 @@ [tool.black] target-version = ['py36', 'py37', 'py38', 'py39'] line-length = 120 -include_trailing_comma = false include = '(atlassian|examples|tests)\/.*(\.py|GET|POST)' [tool.pylint.format] @@ -617,4 +616,4 @@ min-public-methods = 2 # "BaseException, Exception". overgeneral-exceptions = '''BaseException, Exception -''' \ No newline at end of file +''' diff --git a/requirements-dev.txt b/requirements-dev.txt index bfa746dc6..9a22795a1 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -10,6 +10,10 @@ coverage codecov # used for example confluence attach file python-magic +pylint +mypy +bandit +doc8 # On October 4, 2022 importlib-metadata released importlib-metadata 5.0.0 and in version 5.0.0 # They have Deprecated EntryPoints and that's why you are facing this error. diff --git a/requirements.txt b/requirements.txt index 4c2340220..0092d3d55 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ -deprecated +Deprecated requests>=2.8.1 six oauthlib -requests_oauthlib +requests-oauthlib requests-kerberos==0.14.0 # Add this package to search string in json jmespath