Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GWDataFind Client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IGWN Computing and Software
GWDataFind
GWDataFind Client
Commits
f370f309
Commit
f370f309
authored
2 weeks ago
by
Duncan Macleod
Browse files
Options
Downloads
Plain Diff
Merge branch 'ci-type-checking' into 'main'
Add type-checking in CI See merge request
computing/gwdatafind/client!108
parents
241a87be
564b14ff
No related branches found
Branches containing commit
No related tags found
1 merge request
!108
Add type-checking in CI
Pipeline
#713684
passed
2 weeks ago
Stage: build
Stage: test
Stage: .post
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+3
-2
3 additions, 2 deletions
.gitlab-ci.yml
pyproject.toml
+13
-0
13 additions, 0 deletions
pyproject.toml
with
16 additions
and
2 deletions
.gitlab-ci.yml
+
3
−
2
View file @
f370f309
include
:
include
:
# -- Python -------------------------
# -- Python -------------------------
-
component
:
$CI_SERVER_FQDN/computing/gitlab/components/python/all@
1
-
component
:
$CI_SERVER_FQDN/computing/gitlab/components/python/all@
2
inputs
:
inputs
:
code_quality_analyzer
:
ruff
code_quality_analyzer
:
ruff
install_extra
:
"
test"
install_extra
:
"
test"
run_advanced_sast
:
true
run_advanced_sast
:
true
-
component
:
$CI_SERVER_FQDN/computing/gitlab/components/python/type-checking@2
# -- Debian packaging ---------------
# -- Debian packaging ---------------
...
@@ -36,7 +37,7 @@ include:
...
@@ -36,7 +37,7 @@ include:
# -- Red Hat packaging --------------
# -- Red Hat packaging --------------
-
component
:
$CI_SERVER_FQDN/computing/gitlab/components/redhat/all@
1
-
component
:
$CI_SERVER_FQDN/computing/gitlab/components/redhat/all@
2
inputs
:
inputs
:
needs
:
[
sdist
]
needs
:
[
sdist
]
redhat_versions
:
redhat_versions
:
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
13
−
0
View file @
f370f309
...
@@ -80,11 +80,24 @@ source = [
...
@@ -80,11 +80,24 @@ source = [
]
]
[tool.coverage.report]
[tool.coverage.report]
exclude_lines
=
[
# ignore when asked
"pragma: no( |-)cover"
,
# don't complain about typing blocks
"if (typing
\\
.)?TYPE_CHECKING"
,
]
precision
=
1
precision
=
1
[tool.coverage.run]
[tool.coverage.run]
source
=
[
"gwdatafind"
]
source
=
[
"gwdatafind"
]
[tool.mypy]
check_untyped_defs
=
true
exclude
=
[
"^docs/"
,
]
ignore_missing_imports
=
true
[tool.pytest.ini_options]
[tool.pytest.ini_options]
addopts
=
"-r a --color=yes"
addopts
=
"-r a --color=yes"
filterwarnings
=
[
filterwarnings
=
[
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment