Skip to content

Commit 2d664cc

Browse files
authored
feat: add pyright linter / direnv / pdm (#77)
1 parent 401c86e commit 2d664cc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

update.mjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,14 @@ const linters = [
7070
'stylelint*',
7171
'tslint*',
7272
'xo.config.*',
73+
'pyrightconfig.json',
7374
]
7475

7576
const env = [
7677
'*.env',
7778
'.env.*',
7879
'env.d.ts',
80+
'.envrc',
7981
]
8082

8183
const workspaces = [
@@ -231,6 +233,12 @@ const elixir = [
231233
'.dialyzer_ignore.exs',
232234
]
233235

236+
const pdm = [
237+
'pyproject.toml',
238+
'pdm.lock',
239+
'.pdm.toml',
240+
]
241+
234242
const phoenixLiveView = [
235243
'$(capture).html.eex',
236244
'$(capture).html.leex',
@@ -296,6 +304,7 @@ const full = sortObject({
296304
'*.csproj': stringify(dotnetProject),
297305
'*.vbproj': stringify(dotnetProject),
298306
'mix.exs': stringify(elixir),
307+
'pyproject.toml': stringify(pdm),
299308
'*.ex': stringify(phoenixLiveView),
300309
...Object.fromEntries(Object.entries(frameworks).map(([n, i]) => [n, stringify([...i, ...libraries])])),
301310
})

0 commit comments

Comments
 (0)