Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Python lint errors #28

Open
13 of 17 tasks
spicyfalafel opened this issue Sep 23, 2024 · 0 comments
Open
13 of 17 tasks

Fix Python lint errors #28

spicyfalafel opened this issue Sep 23, 2024 · 0 comments
Assignees
Labels
lang:python Python related issues scope:language Language specific issues

Comments

@spicyfalafel
Copy link
Contributor

spicyfalafel commented Sep 23, 2024

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
@spicyfalafel spicyfalafel self-assigned this Sep 23, 2024
@krvital krvital added scope:language Language specific issues lang:python Python related issues labels Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang:python Python related issues scope:language Language specific issues
Projects
None yet
Development

No branches or pull requests

2 participants