obophenotype / upheno

The Unified Phenotype Ontology (uPheno) integrates multiple phenotype ontologies into a unified cross-species phenotype ontology.
https://obophenotype.github.io/upheno/
Creative Commons Zero v1.0 Universal
76 stars 17 forks source link

Update abnormalConstrictionOfAnatomicalEntity.yaml #914

Closed ar-ibrahim closed 1 year ago

ar-ibrahim commented 1 year ago
ar-ibrahim commented 1 year ago

Hey @rays22 I ran yamllint and fixed all indentations. There's still this error message

4:81 error line too long (107 > 80 characters) (line-length) _patterniri

6:81 error line too long (100 > 80 characters) (line-length) description

Also ran dosdp validate and the QC check ran successfully.

rays22 commented 1 year ago

Hey @rays22 I ran yamllint and fixed all indentations. There's still this error message

4:81 error line too long (107 > 80 characters) (line-length) _patterniri

6:81 error line too long (100 > 80 characters) (line-length) description

Also ran dosdp validate and the QC check ran successfully.

You can ignore the error line too long errors for the dos-dp yaml templates. You can create a custom configuration file for yamllint in your home folder:

touch ~/.config/yamllint/config

It should look like this:

# Custom configuration file for yamllint
# It extends the default conf by adjusting some options.

extends: default

rules:
  line-length:
    max: 80 # 80 chars should be enough, but don't fail if a line is longer
#   max: 140  # allow long lines
    level: warning
    allow-non-breakable-words: true
    allow-non-breakable-inline-mappings: true

The custom config should turn the error line too long errors to warnings.