Skip to content

Commit

Permalink
Linting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pipliggins committed Oct 1, 2024
1 parent 13abaa4 commit e1b88bc
Show file tree
Hide file tree
Showing 15 changed files with 14 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ omit =
tests/*

[report]
exclude_also =
exclude_also =
if __name__ == .__main__.:
2 changes: 0 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,3 @@ python:
install:
- method: pip
path: .[docs]


2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
"editor.defaultFormatter": "ms-python.black-formatter"
},
"python.testing.cwd": "${workspaceFolder}"
}
}
2 changes: 1 addition & 1 deletion docs/adtl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ Module reference
=====================

.. autoclass:: adtl.Parser
:members:
:members:
1 change: 0 additions & 1 deletion docs/getting_started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ If you are writing code which depends on adtl (instead of using
the command-line program), then it is best to add a dependency on
`git+https://github.com/globaldothealth/adtl` to your Python build tool of
choice.

2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ maxdepth: 1
adtl
transformations
```
```
2 changes: 1 addition & 1 deletion docs/transformations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ Transformations
=====================

.. automodule:: adtl.transformations
:members:
:members:
2 changes: 1 addition & 1 deletion schemas/dev.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,4 +226,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion tests/parsers/epoch-web-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
"field": "Text"
}
}
}
}
4 changes: 2 additions & 2 deletions tests/parsers/epoch.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
adtl:
name: default-date-format
description: Tests default date format
defaultDateFormat: %d/%m/%Y
defaultDateFormat: "%d/%m/%Y"
tables:
- table: { kind: oneToOne, schema: ../schemas/epoch-data.schema.json }
table:
id: { field: Entry_ID }
epoch: { field: Epoch }
some_date: { field: SomeDate }
text: { field: Text }
text: { field: Text }
2 changes: 1 addition & 1 deletion tests/parsers/skip_field.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
"can_skip": true
}
}
}
}
2 changes: 1 addition & 1 deletion tests/schemas/epoch-data.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
"description": "Follow-up cough field"
}
}
}
}
2 changes: 1 addition & 1 deletion tests/schemas/epoch-oneOf.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@
"description": "sex"
}
}
}
}
2 changes: 1 addition & 1 deletion tests/schemas/observation_defaultif.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@
]
}
}
}
}
2 changes: 1 addition & 1 deletion tests/sources/oneToMany.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dt,headache_cmyn,cough_cmyn,dyspnea_cmyn
2022-02-05,1,1,0
2022-02-05,1,1,0

0 comments on commit e1b88bc

Please sign in to comment.