Skip to content

Commit

Permalink
[pyproject.toml] Move the exclusion from setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Nov 4, 2023
1 parent dda8a03 commit 246232c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ build-backend = "setuptools.build_meta"
[tool.setuptools]
license-files = ["LICENSE"]

[tool.setuptools.packages.find]
exclude=["tests*", "sandbox"]

[project]
name = "pylint-pytest"
version = "1.1.3"
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from setuptools import find_packages, setup
from setuptools import setup

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

0 comments on commit 246232c

Please sign in to comment.