Skip to content

Commit 246232c

Browse files
[pyproject.toml] Move the exclusion from setup.py
1 parent dda8a03 commit 246232c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ build-backend = "setuptools.build_meta"
55
[tool.setuptools]
66
license-files = ["LICENSE"]
77

8+
[tool.setuptools.packages.find]
9+
exclude=["tests*", "sandbox"]
10+
811
[project]
912
name = "pylint-pytest"
1013
version = "1.1.3"

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
from setuptools import find_packages, setup
1+
from setuptools import setup
22

33
setup(
4-
packages=find_packages(exclude=["tests*", "sandbox"]),
54
tests_require=["pytest", "pytest-cov", "pylint"],
65
)

0 commit comments

Comments
 (0)