Skip to content

Commit 3a3f38a

Browse files
Format code with black and prettier
This commit fixes the style issues introduced in b75957d according to the output from black and prettier. Details: https://deepsource.icu/gh/deepsourcelabs/good-first-issue/transform/94302779-ae8f-4ab5-a420-03e47d36d044/
1 parent b75957d commit 3a3f38a

File tree

5 files changed

+537
-548
lines changed

5 files changed

+537
-548
lines changed

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"python.formatting.provider": "black"
3-
}
2+
"python.formatting.provider": "black"
3+
}

layouts/default.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import Navbar from '~/components/Navbar.vue'
1515
import Sidebar from '~/components/Sidebar.vue'
1616
1717
export default {
18-
data: function() {
18+
data: function () {
1919
return {
2020
tag: {}
2121
}
@@ -52,7 +52,7 @@ export default {
5252
)
5353
)
5454
55-
chimpPopupLoader.onload = function() {
55+
chimpPopupLoader.onload = function () {
5656
document.body.appendChild(chimpPopup)
5757
}
5858
document.body.appendChild(chimpPopupLoader)

nuxt.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default {
7777
},
7878
generate: {
7979
routes: [
80-
...map(Tags, tag => {
80+
...map(Tags, (tag) => {
8181
return `/language/${tag.slug}`
8282
})
8383
]

store/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
export const state = () => ({
2-
activeIssue: '',
2+
activeIssue: ''
33
})
44

55
export const mutations = {
66
expandIssue(state, id) {
77
if (state.activeIssue === id.toString()) {
88
state.activeIssue = ''
99
} else {
10-
state.activeIssue = id.toString();
10+
state.activeIssue = id.toString()
1111
}
1212
}
1313
}

0 commit comments

Comments
 (0)