Skip to content

Commit

Permalink
Chore: Update DevOps tooling from central repository [skip ci]
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
ModeSevenIndustrialSolutions committed Jun 21, 2024
1 parent 6147686 commit d92382f
Show file tree
Hide file tree
Showing 48 changed files with 2,957 additions and 282 deletions.
28 changes: 28 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# .coveragerc to control coverage.py
[run]
branch = True
source = osc_physrisk_financial
# omit = bad_file.py

[paths]
source =
src/
*/site-packages/

[report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover

# Don't complain about missing debug-only code:
def __repr__
if self\.debug

# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError

# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:
2 changes: 2 additions & 0 deletions .devops-exclusions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.github/workflows/linting.yaml
.github/workflows/notebooks.yaml
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
max-line-length = 160
extend-ignore = E203, E501
17 changes: 14 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,25 @@
---
# SPDX-License-Identifier: Apache-2.0
# Copyright 2024 The Linux Foundation <[email protected]>
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
# prettier-ignore
- package-ecosystem: "pip" # See documentation for possible values
# prettier-ignore
directory: "/" # Location of package manifests
commit-message:
prefix: "[dependabot] Chore:"
open-pull-requests-limit: 3
schedule:
interval: "weekly"

- package-ecosystem: "github-actions"
directory: "/"
commit-message:
prefix: "[dependabot] Chore:"
open-pull-requests-limit: 1
open-pull-requests-limit: 3
schedule:
interval: "weekly"
Loading

0 comments on commit d92382f

Please sign in to comment.