diff --git a/setup.py b/setup.py index 64c3869b..b83abc33 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -import os from setuptools import setup diff --git a/template/pyproject.toml.jinja b/template/pyproject.toml.jinja index c2a1e0ee..2b5d3c09 100644 --- a/template/pyproject.toml.jinja +++ b/template/pyproject.toml.jinja @@ -4,7 +4,7 @@ # - https://www.python.org/dev/peps/pep-0621/ [build-system] -requires = ["setuptools>=77.0.3", "setuptools-scm", "wheel"] +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -132,6 +132,7 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" # Enable Pyflakes `E` and `F` codes by default. select = ["ALL"] ignore = [ + "CPY001", # Missing copyright notice "ANN204", # Missing return type annotation for special (dunder) method "FBT", # Using boolean function arguments "TD", # TODOs diff --git a/tests/test_project.py b/tests/test_project.py index 7caa7e1d..c70e7174 100644 --- a/tests/test_project.py +++ b/tests/test_project.py @@ -1,10 +1,8 @@ import os import subprocess -import sys from sys import platform from typing import Sequence -from copier import run_copy import pytest IS_WINDOWS = platform.startswith('win')