From 52767cf9cf0f6de444e3abe999b5ae599dd6dd1e Mon Sep 17 00:00:00 2001 From: Om Aximani <75031769+OmAximani0@users.noreply.github.com> Date: Wed, 13 Sep 2023 00:10:34 +0530 Subject: [PATCH] fix: Bumped up the dependency versions (#101) --- .github/workflows/docs.yml | 4 +-- .github/workflows/pypi.yml | 4 +-- .github/workflows/python-package.yml | 2 +- requirements/requirements-dev.txt | 16 +++++------ setup.cfg | 40 +++++++++++++++++++--------- 5 files changed, 40 insertions(+), 26 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 01b4e30..9beaf41 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -12,10 +12,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.8 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.8 - name: Install dependencies run: | diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index ad9a139..e0d08c1 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -12,10 +12,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.8 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.8 - name: Install pypa/build run: >- diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index d9bb3ba..54e7d69 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ 3.7, 3.8, 3.9 ] + python-version: [ '3.8', '3.9', '3.10' ] steps: - uses: actions/checkout@v3 diff --git a/requirements/requirements-dev.txt b/requirements/requirements-dev.txt index 8adea3b..dc80c1b 100644 --- a/requirements/requirements-dev.txt +++ b/requirements/requirements-dev.txt @@ -1,10 +1,10 @@ -r requirements.txt -black==20.8b1 -pre-commit==2.10.1 -xenon==0.7.1 -doc8==0.8.1 -pytest==6.2.2 -pytest-cov==2.11.1 -requests-mock==1.8.0 -flake8==5.0.4 +black==23.3.0 +pre-commit==3.4.0 +xenon==0.9.1 +doc8==1.1.1 +pytest==7.4.1 +pytest-cov==4.1.0 +requests-mock==1.11.0 +flake8==6.1.0 \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index 48d79ae..2bce2d0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -14,19 +14,33 @@ isort-show-traceback = True no-accept-encodings = True # Disable some checks: -ignore = C812, # missing trailing comma - C815, # missing trailing comma in Python 3.5+ - C816, # missing trailing comma in Python 3.6+ - C901, # function is too complex - D100, # Missing docstring in public module - D104, # Missing docstring in public package - D202, # No blank lines allowed after function docstring - D401, # First line should be in imperative mood - E203, # Whitespace before ':' - RST201, # Block quote ends without a blank line; unexpected unindent. - RST203, # Definition list ends without a blank line; unexpected unindent. - RST301, # Unexpected indentation. - W503, # Line break occurred before a binary operator +ignore = + # missing trailing comma + C812, + # missing trailing comma in Python 3.5+ + C815, + # missing trailing comma in Python 3.6+ + C816, + # function is too complex + C901, + # Missing docstring in public module + D100, + # Missing docstring in public package + D104, + # No blank lines allowed after function docstring + D202, + # First line should be in imperative mood + D401, + # Whitespace before ':' + E203, + # Block quote ends without a blank line; unexpected unindent. + RST201, + # Definition list ends without a blank line; unexpected unindent. + RST203, + # Unexpected indentation. + RST301, + # Line break occurred before a binary operator + W503, max-methods = 9 max-module-members = 9