Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#65)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 23.7.0 → 23.9.1](psf/black@23.7.0...23.9.1)
- [github.com/astral-sh/ruff-pre-commit: v0.0.287 → v0.0.292](astral-sh/ruff-pre-commit@v0.0.287...v0.0.292)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Run pr-commit again

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hynek Schlawack <hs@ox.cx>
  • Loading branch information
pre-commit-ci[bot] and hynek committed Oct 4, 2023
1 parent 9094dca commit 60d5f8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ ci:

repos:
- repo: https://github.com/psf/black
rev: 23.7.0
rev: 23.9.1
hooks:
- id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.287
rev: v0.0.292
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
8 changes: 1 addition & 7 deletions tests/test_packaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,13 @@
# limitations under the License.


import sys
from importlib import metadata

import pytest

import environ


if sys.version_info < (3, 8):
import importlib_metadata as metadata
else:
from importlib import metadata


class TestLegacyMetadataHack:
def test_version(self):
"""
Expand Down

0 comments on commit 60d5f8d

Please sign in to comment.