From 811788ca212c7bb68dd4cbe2ff4b92d79a09fd5a Mon Sep 17 00:00:00 2001 From: Mike Taves Date: Mon, 18 Sep 2023 15:45:55 +1200 Subject: [PATCH] Remove setup.py; add a few pre-commit items --- .pre-commit-config.yaml | 10 +++++++++- setup.py | 4 ---- 2 files changed, 9 insertions(+), 5 deletions(-) delete mode 100644 setup.py diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5cab099..93c235b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,6 +5,10 @@ repos: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace + - repo: https://github.com/asottile/pyupgrade + rev: v3.11.0 + hooks: + - id: pyupgrade - repo: https://github.com/psf/black rev: 22.10.0 hooks: @@ -12,5 +16,9 @@ repos: - repo: https://github.com/pycqa/isort rev: 5.11.5 hooks: - - id: isort + - id: isort name: isort (python) + - repo: https://github.com/citation-file-format/cffconvert + rev: 054bda51dbe278b3e86f27c890e3f3ac877d616c + hooks: + - id: validate-cff diff --git a/setup.py b/setup.py deleted file mode 100644 index c4dfa9f..0000000 --- a/setup.py +++ /dev/null @@ -1,4 +0,0 @@ -"""See pyproject.toml for project metadata.""" -from setuptools import setup - -setup()