Skip to content

Commit 4b5b1ec

Browse files
committed
flake8
1 parent 1272966 commit 4b5b1ec

File tree

1 file changed

+53
-26
lines changed

1 file changed

+53
-26
lines changed

dandischema/models.py

Lines changed: 53 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -339,37 +339,44 @@ class RoleType(Enum):
339339
class ResourceType(Enum):
340340
"""An enumeration of resource types"""
341341

342-
#: Audiovisual: A series of visual representations imparting an impression of motion when shown in succession. May
343-
# or may not include sound.
342+
#: Audiovisual: A series of visual representations imparting an impression of motion
343+
# when shown in succession. May or may not include sound.
344344
Audiovisual = "dcite:Audiovisual"
345345

346-
#: Book: A medium for recording information in the form of writing or images, typically composed of many pages bound
347-
# together and protected by a cover.
346+
#: Book: A medium for recording information in the form of writing or images,
347+
# typically composed of many pages bound together and protected by a cover.
348348
Book = "dcite:Book"
349349

350350
#: BookChapter: One of the main divisions of a book.
351351
BookChapter = "dcite:BookChapter"
352352

353-
#: Collection: An aggregation of resources, which may encompass collections of one resourceType as well as those of
354-
# mixed types. A collection is described as a group; its parts may also be separately described.
353+
#: Collection: An aggregation of resources, which may encompass collections of one
354+
# resourceType as well as those of mixed types. A collection is described as a
355+
# group; its parts may also be separately described.
355356
Collection = "dcite:Collection"
356357

357-
#: ComputationalNotebook: A virtual notebook environment used for literate programming.
358+
#: ComputationalNotebook: A virtual notebook environment used for literate
359+
# programming.
358360
ComputationalNotebook = "dcite:ComputationalNotebook"
359361

360-
#: ConferencePaper: Article that is written with the goal of being accepted to a conference.
362+
#: ConferencePaper: Article that is written with the goal of being accepted to a
363+
# conference.
361364
ConferencePaper = "dcite:ConferencePaper"
362365

363-
#: ConferenceProceeding: Collection of academic papers published in the context of an academic conference.
366+
#: ConferenceProceeding: Collection of academic papers published in the context of
367+
# an academic conference.
364368
ConferenceProceeding = "dcite:ConferenceProceeding"
365369

366-
#: DataPaper: A factual and objective publication with a focused intent to identify and describe specific data, sets of data, or data collections to facilitate discoverability.
370+
#: DataPaper: A factual and objective publication with a focused intent to identify
371+
# and describe specific data, sets of data, or data collections to facilitate
372+
# discoverability.
367373
DataPaper = "dcite:DataPaper"
368374

369375
#: Dataset: Data encoded in a defined structure.
370376
Dataset = "dcite:Dataset"
371377

372-
#: Dissertation: A written essay, treatise, or thesis, especially one written by a candidate for the degree of Doctor of Philosophy.
378+
#: Dissertation: A written essay, treatise, or thesis, especially one written by a
379+
# candidate for the degree of Doctor of Philosophy.
373380
Dissertation = "dcite:Dissertation"
374381

375382
#: Event: A non-persistent, time-based occurrence.
@@ -378,55 +385,75 @@ class ResourceType(Enum):
378385
#: Image: A visual representation other than text.
379386
Image = "dcite:Image"
380387

381-
#: Instrument: A device, tool or apparatus used to obtain, measure and/or analyze data.
388+
#: Instrument: A device, tool or apparatus used to obtain, measure and/or analyze
389+
# data.
382390
Instrument = "dcite:Instrument"
383391

384-
#: InteractiveResource: A resource requiring interaction from the user to be understood, executed, or experienced.
392+
#: InteractiveResource: A resource requiring interaction from the user to be
393+
# understood, executed, or experienced.
385394
InteractiveResource = "dcite:InteractiveResource"
386395

387-
#: Journal: A scholarly publication consisting of articles that is published regularly throughout the year.
396+
#: Journal: A scholarly publication consisting of articles that is published
397+
# regularly throughout the year.
388398
Journal = "dcite:Journal"
389399

390-
#: JournalArticle: A written composition on a topic of interest, which forms a separate part of a journal.
400+
#: JournalArticle: A written composition on a topic of interest, which forms a
401+
# separate part of a journal.
391402
JournalArticle = "dcite:JournalArticle"
392403

393-
#: Model: An abstract, conceptual, graphical, mathematical or visualization model that represents empirical objects, phenomena, or physical processes.
404+
#: Model: An abstract, conceptual, graphical, mathematical or visualization model
405+
# that represents empirical objects, phenomena, or physical processes.
394406
Model = "dcite:Model"
395407

396-
#: OutputManagementPlan: A formal document that outlines how research outputs are to be handled both during a research project and after the project is completed.
408+
#: OutputManagementPlan: A formal document that outlines how research outputs are to
409+
# be handled both during a research project and after the project is completed.
397410
OutputManagementPlan = "dcite:OutputManagementPlan"
398411

399-
#: PeerReview: Evaluation of scientific, academic, or professional work by others working in the same field.
412+
#: PeerReview: Evaluation of scientific, academic, or professional work by others
413+
# working in the same field.
400414
PeerReview = "dcite:PeerReview"
401415

402416
#: PhysicalObject: A physical object or substance.
403417
PhysicalObject = "dcite:PhysicalObject"
404418

405-
#: Preprint: A version of a scholarly or scientific paper that precedes formal peer review and publication in a peer-reviewed scholarly or scientific journal.
419+
#: Preprint: A version of a scholarly or scientific paper that precedes formal peer
420+
# review and publication in a peer-reviewed scholarly or scientific journal.
406421
Preprint = "dcite:Preprint"
407422

408-
#: Report: A document that presents information in an organized format for a specific audience and purpose.
423+
#: Report: A document that presents information in an organized format for a
424+
# specific audience and purpose.
409425
Report = "dcite:Report"
410426

411-
#: Service: An organized system of apparatus, appliances, staff, etc., for supplying some function(s) required by end users.
427+
#: Service: An organized system of apparatus, appliances, staff, etc., for supplying
428+
# some function(s) required by end users.
412429
Service = "dcite:Service"
413430

414-
#: Software: A computer program other than a computational notebook, in either source code (text) or compiled form. Use this type for general software components supporting scholarly research. Use the “ComputationalNotebook” value for virtual notebooks.
431+
#: Software: A computer program other than a computational notebook, in either
432+
# source code (text) or compiled form. Use this type for general software components
433+
# supporting scholarly research. Use the “ComputationalNotebook” value for virtual
434+
# notebooks.
415435
Software = "dcite:Software"
416436

417437
#: Sound: A resource primarily intended to be heard.
418438
Sound = "dcite:Sound"
419439

420-
#: Standard: Something established by authority, custom, or general consent as a model, example, or point of reference.
440+
#: Standard: Something established by authority, custom, or general consent as a
441+
# model, example, or point of reference.
421442
Standard = "dcite:Standard"
422443

423-
#: StudyRegistration: A detailed, time-stamped description of a research plan, often openly shared in a registry or published in a journal before the study is conducted to lend accountability and transparency in the hypothesis generating and testing process.
444+
#: StudyRegistration: A detailed, time-stamped description of a research plan, often
445+
# openly shared in a registry or published in a journal before the study is
446+
# conducted to lend accountability and transparency in the hypothesis generating and
447+
# testing process.
424448
StudyRegistration = "dcite:StudyRegistration"
425449

426-
#: Text: A resource consisting primarily of words for reading that is not covered by any other textual resource type in this list.
450+
#: Text: A resource consisting primarily of words for reading that is not covered by
451+
# any other textual resource type in this list.
427452
Text = "dcite:Text"
428453

429-
#: Workflow: A structured series of steps which can be executed to produce a final outcome, allowing users a means to specify and enact their work in a more reproducible manner.
454+
#: Workflow: A structured series of steps which can be executed to produce a final
455+
# outcome, allowing users a means to specify and enact their work in a more
456+
# reproducible manner.
430457
Workflow = "dcite:Workflow"
431458

432459
#: Other: A resource that does not fit into any of the other categories.

0 commit comments

Comments
 (0)