-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea1da5f
commit 09c2cbd
Showing
15 changed files
with
57 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
[submodule "template"] | ||
path = submodules/template | ||
url = https://github.com/blakeNaccarato/copier-python.git | ||
[submodule "typings"] | ||
path = submodules/typings | ||
url = https://github.com/blakeNaccarato/pylance-stubs-unofficial.git | ||
[submodule "boilercore"] | ||
path = submodules/boilercore | ||
url = https://github.com/softboiler/boilercore.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,8 +48,7 @@ email = "[email protected]" | |
[tool.coverage.run] | ||
branch = true | ||
source = ["boilerdaq", "boilerdaq_docs", "boilerdaq_tests", "boilerdaq_tools"] | ||
[tool.coverage.report] | ||
ignore_errors = true | ||
|
||
[tool.fawltydeps] | ||
deps = ["pyproject.toml"] | ||
code = ["src"] | ||
|
@@ -59,12 +58,17 @@ ignore_unused = ["libusb", "pyusb", "pyvisa-py", "pyvisa-sim", "zeroconf"] | |
boilercore = ["boilercore"] | ||
|
||
[tool.pytest.ini_options] | ||
# ! https://github.com/pytest-dev/pytest-cov/issues/479#issuecomment-1247444988 | ||
addopts = ''' | ||
--strict-config | ||
--strict-markers | ||
--color yes | ||
--suppress-no-test-exit-code | ||
--color=yes | ||
-p no:legacypaths | ||
-r a | ||
--cov | ||
--cov-config=pyproject.toml | ||
--cov-report=xml | ||
''' | ||
cache_dir = ".cache/.pytest_cache" | ||
markers = "slow" | ||
|
@@ -104,12 +108,10 @@ exclude = [ | |
"**/AppData", | ||
"bin", | ||
"submodules/template", | ||
"submodules/typings", | ||
"submodules/**/docs", | ||
"submodules/**/scripts", | ||
"submodules/**/tests", | ||
] | ||
stubPath = "submodules/typings" | ||
typeCheckingMode = "strict" | ||
# Default "true" in strict | ||
analyzeUnannotatedFunctions = true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,26 @@ elseif ($Devcontainer) { $msg = 'devcontainer' } | |
elseif ($Release) { $msg = 'release' } | ||
"Will run $msg steps" | Write-Progress -Info | ||
|
||
if (!$CI -and | ||
(Get-Command -Name 'code' -ErrorAction 'Ignore') -and | ||
!(code --list-extensions | Select-String -Pattern 'charliermarsh.ruff', 'ms-python.vscode-pylance') | ||
) { | ||
'INSTALLING LOCAL VSCODE WORKSPACE EXTENSIONS' | Write-Progress | ||
if (Get-Command -Name 'code' -ErrorAction 'Ignore') { $py = 'py' } | ||
$Install = @( | ||
'--extensions-dir=.vscode/extensions', | ||
'[email protected]', | ||
'[email protected]' | ||
) | ||
code @Install | ||
# Remove local Pylance bundled stubs | ||
Get-ChildItem -Path '.vscode/extensions' -Filter 'ms-python.vscode-pylance-*' | | ||
ForEach-Object { | ||
Get-ChildItem -Path "$($_.FullName)/dist/bundled" -Filter '*stubs' | ||
} | | ||
Remove-Item -Recurse | ||
'INSTALLED LOCAL VSCODE WORKSPACE EXTENSIONS' | Write-Progress -Done | ||
} | ||
'FINDING UV' | Write-Progress | ||
$uvVersionRe = Get-Content 'requirements/uv.txt' | Select-String -Pattern '^uv==(.+)$' | ||
$uvVersion = $uvVersionRe.Matches.Groups[1].value | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule typings
deleted from
37d486