Skip to content

Fix Python lint errors #28

@spicyfalafel

Description

@spicyfalafel

To fix:

  • hl7-fhir-r4-core/Account.py:6:14: E0602: Undefined variable 'Reference' (undefined-variable)
  • hl7-fhir-r4-core/Account.py:1:0: W0622: Redefining built-in 'DeprecationWarning' (redefined-builtin)
  • hl7-fhir-r4-core/Account.py:2:0: C0411: standard import "typing.Optional" should be placed before third party import "pydantic.*" (wrong-import-order)
  • hl7-fhir-r4-core/Consent.py:18:10: E0001: Parsing failed: 'invalid syntax (Consent, line 18)' (syntax-error) why?
  • class Cqf-questionnaire(DomainResource): - replace '-'. Same 'class Diagnosticreport-genetics(DomainResource)'
  • fix python keyword properties name collision
  • meta constructor
  • fix BaseSearchParameters in r5
  • add constructors by dataclass
  • import Patient works
  • fix search import
  • fix hl7-fhir-r4-core -> hl7_fhir_r4_core
  • fix backbone nested classes pascal case
  • fix USCORE import (not generating right now)
  • decide base/init.py or not.
  • hl7-fhir-r4-core/List.py:11:0: E0102: class already defined line 1 (function-redefined) + check List imports
  • fix lint multiple top-level packages found https://github.com/Aidbox/aidbox-sdk/actions/runs/11055748438/job/30715653811

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions