Skip to content

Commit

Permalink
Merge pull request #1561 from automl/development
Browse files Browse the repository at this point in the history
Release 0.15
  • Loading branch information
mfeurer authored Sep 20, 2022
2 parents b2ac331 + 013d7ee commit b7ff90c
Show file tree
Hide file tree
Showing 487 changed files with 49,296 additions and 35,062 deletions.
48 changes: 26 additions & 22 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,46 @@
#see https://github.com/codecov/support/wiki/Codecov-Yaml
codecov:
notify:
require_ci_to_pass: yes
require_ci_to_pass: yes

coverage:
precision: 2 # 2 = xx.xx%, 0 = xx%
round: nearest # how coverage is rounded: down/up/nearest
range: 10...90 # custom range of coverage colors from red -> yellow -> green

# 2 = xx.xx%, 0 = xx%
precision: 2

# https://docs.codecov.com/docs/commit-status
status:
# https://codecov.readme.io/v1.0/docs/commit-status

# We want our total main project to always remain above 84% coverage, a
# drop of 0.20% is allowed. It should fail if coverage couldn't be uploaded
# of the CI fails otherwise
project:
default:
against: auto
target: 70% # specify the target coverage for each commit status
threshold: 50% # allow this little decrease on project
# https://github.com/codecov/support/wiki/Filtering-Branches
# branches: master
target: 84%
threshold: 0.20%
if_not_found: failure
if_ci_failed: error
# https://github.com/codecov/support/wiki/Patch-Status

# The code changed by a PR should have 90% coverage. This is different from the
# overall number shown above.
# This encourages small PR's as they are easier to test.
patch:
default:
against: auto
target: 30% # specify the target "X%" coverage to hit
threshold: 50% # allow this much decrease on patch
changes: false
target: 90%
if_not_found: failure
if_ci_failed: error

# We upload additional information on branching with pytest-cov `--cov-branch`
# This information can be used by codecov.com to increase analysis of code
parsers:
gcov:
branch_detection:
conditional: true
loop: true
method: true
macro: false
method: false
javascript:
enable_partials: false


comment:
layout: header, diff
layout: diff, reach
behavior: default
require_changes: false
behavior: default # update if exists else create new
branches: *
12 changes: 9 additions & 3 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
[flake8]
max-line-length = 100
show-source = True
application-import-names = autosklearn
exclude =
max-line-length = 88
extend-exclude =
venv
.venv
build
autosklearn/automl_common
extend-ignore =
# No whitespace before ':' in [x : y]
E203
# No lambdas — too strict
E731
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2

updates:
# This will check for updates to github actions every day
# https://docs.github.com/en/enterprise-server@3.4/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
Loading

0 comments on commit b7ff90c

Please sign in to comment.