Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 4, 2023
1 parent e19b441 commit 5aeafdd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/projects/top.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const Top = ({ data, filtered, tooltips, setTooltips }) => {
data
.filter((d) => filtered[d.id])
.map((d) => d.metrics[1].value)
.reduce((a, b) => a + b, 0)
.reduce((a, b) => a + b, 0),
)}
</Badge>
</FadeIn>
Expand Down
2 changes: 1 addition & 1 deletion components/sidebar/brush.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const Brush = ({ label, setBounds }) => {
[0, 0],
[100, 100],
])
.on('start brush', (e) => update(e, x, setBounds, label))
.on('start brush', (e) => update(e, x, setBounds, label)),
)
}
}, [])
Expand Down
2 changes: 1 addition & 1 deletion pages/research/cdr-database/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const selectMetric = (d, name) => {

function Index() {
const projects = collection.projects.sort((a, b) =>
a.applicant.localeCompare(b.applicant)
a.applicant.localeCompare(b.applicant),
)
const metrics = {
volume: projects.map((d) => ({
Expand Down
1 change: 0 additions & 1 deletion scripts/build_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ def write_json(collection, output):
@click.option('--output-csv', default='projects.csv', show_default=True)
@click.option('--output-json', default='projects.json', show_default=True)
def main(sources, output_projects, output_methods, output_numbers, output_csv, output_json):

projects = []
metadata = get_cf_global_attrs(license='CC-BY-4.0', version=VERSION)

Expand Down

0 comments on commit 5aeafdd

Please sign in to comment.