summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-11-13 16:44:15 (GMT)
committerThaddeus Crews <repiteo@outlook.com>2024-11-15 17:41:29 (GMT)
commite431ee86b40f9a2c9bf1e088eb7cf782dba58842 (patch)
treeec8ec3528a5c7a259c7b438c585ca61692f423c8
parentc1ddbc7fa5e34ae6aba45104e6dfb39ebb08d3eb (diff)
downloadSCons-e431ee86b40f9a2c9bf1e088eb7cf782dba58842.zip
SCons-e431ee86b40f9a2c9bf1e088eb7cf782dba58842.tar.gz
SCons-e431ee86b40f9a2c9bf1e088eb7cf782dba58842.tar.bz2
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/",
+]