summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2024-11-15 18:45:11 (GMT)
committerGitHub <noreply@github.com>2024-11-15 18:45:11 (GMT)
commitd1d5355b716644be649d99b16c6f2bf64e9f64e4 (patch)
treeec8ec3528a5c7a259c7b438c585ca61692f423c8
parentc1ddbc7fa5e34ae6aba45104e6dfb39ebb08d3eb (diff)
parente431ee86b40f9a2c9bf1e088eb7cf782dba58842 (diff)
downloadSCons-d1d5355b716644be649d99b16c6f2bf64e9f64e4.zip
SCons-d1d5355b716644be649d99b16c6f2bf64e9f64e4.tar.gz
SCons-d1d5355b716644be649d99b16c6f2bf64e9f64e4.tar.bz2
Merge pull request #4641 from Repiteo/update-excludes
Ruff/Mypy: Update excludes
-rw-r--r--CHANGES.txt3
-rw-r--r--RELEASE.txt2
-rw-r--r--pyproject.toml31
3 files changed, 25 insertions, 11 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 7d6ef00..478b67d 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -76,6 +76,9 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER
- Change the attempted conversion of a define expansion from using int() to
a constant expression evaluation.
+ From Thaddeus Crews:
+ - Ruff/Mypy: Excluded items now synced.
+
From Alex James:
- On Darwin, PermissionErrors are now handled while trying to access
/etc/paths.d. This may occur if SCons is invoked in a sandboxed
diff --git a/RELEASE.txt b/RELEASE.txt
index e71f535..ae1b90b 100644
--- a/RELEASE.txt
+++ b/RELEASE.txt
@@ -177,6 +177,8 @@ DEVELOPMENT
- List visible changes in the way SCons is developed
+- Ruff/Mypy: Excluded items now synced.
+
Thanks to the following contributors listed below for their contributions to this release.
==========================================================================================
.. code-block:: text
diff --git a/pyproject.toml b/pyproject.toml
index cb824b7..1e00257 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -73,17 +73,15 @@ dist-dir = "build/dist"
target-version = "py37" # Lowest python version supported
extend-include = ["SConstruct", "SConscript"]
extend-exclude = [
- "bench",
- "bin",
- "doc",
- "src",
- "template",
- "test",
- "testing",
- "timings",
- "SCons/Tool/docbook/docbook-xsl-1.76.1",
- "bootstrap.py",
- "runtest.py",
+ "bench/",
+ "bin/",
+ "doc/",
+ "src/",
+ "template/",
+ "test/",
+ "testing/",
+ "timings/",
+ "SCons/Tool/docbook/docbook-xsl-1.76.1/",
]
[tool.ruff.format]
@@ -99,3 +97,14 @@ quote-style = "preserve" # Equivalent to black's "skip-string-normalization"
[tool.mypy]
python_version = "3.8"
+exclude = [
+ "^bench/",
+ "^bin/",
+ "^doc/",
+ "^src/",
+ "^template/",
+ "^test/",
+ "^testing/",
+ "^timings/",
+ "^SCons/Tool/docbook/docbook-xsl-1.76.1/",
+]