Skip to content

Commit d23f5fb

Browse files
committed
update tooling and deps
Signed-off-by: Grant Ramsay <seapagan@gmail.com>
1 parent a20bd83 commit d23f5fb

File tree

5 files changed

+1842
-1506
lines changed

5 files changed

+1842
-1506
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,3 +208,4 @@ cython_debug/
208208

209209
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
210210
test.db
211+
.python-version

.vscode/settings.json

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,58 @@
11
{
22
"[python]": {
33
"editor.codeActionsOnSave": {
4-
"source.organizeImports": true
5-
}
4+
"source.fixAll": "explicit",
5+
"source.organizeImports": "explicit"
6+
},
7+
"editor.defaultFormatter": "charliermarsh.ruff"
68
},
7-
"autoDocstring.startOnNewLine": true,
89
"beautify.language": {
910
"html": ["htm", "html", "django-html"]
1011
},
1112
"editor.formatOnPaste": false,
13+
"editor.formatOnSave": true,
1214
"emmet.includeLanguages": {
15+
"django-html": "html",
1316
"jinja-html": "html"
1417
},
1518
"emmet.triggerExpansionOnTab": true,
1619
"files.associations": {
1720
"**/*.html": "html",
21+
"**/*.tpl": "jinja",
1822
"**/requirements{/**,*}.{txt,in}": "pip-requirements",
1923
"**/templates/**/*": "django-txt",
2024
"**/templates/**/*.html": "jinja-html"
2125
},
2226
"files.eol": "\n",
2327
"files.exclude": {
28+
"**/.cache": true,
29+
"**/.mypy_cache": true,
30+
"**/.pytest_cache": true,
31+
"**/.ruff_cache": true,
2432
"**/__pycache__": true
2533
},
2634
"git.alwaysSignOff": true,
2735
"git.enableCommitSigning": true,
2836
"html.format.indentHandlebars": true,
2937
"html.format.templating": true,
38+
"markdownlint.ignore": ["CHANGELOG.md"],
39+
"material-icon-theme.languages.associations": {
40+
"jinja-html": "django"
41+
},
42+
"mypy-type-checker.args": ["--strict"],
43+
"mypy-type-checker.importStrategy": "useBundled",
44+
"mypy-type-checker.reportingScope": "workspace",
45+
"python.analysis.autoImportCompletions": true,
46+
"python.analysis.autoImportUserSymbols": true,
3047
"python.analysis.extraPaths": [],
48+
"python.analysis.indexing": true,
3149
"python.analysis.stubPath": "/home/seapagan/stubs",
32-
"python.analysis.typeCheckingMode": "basic",
33-
"python.formatting.blackArgs": ["--line-length=80"],
34-
"python.formatting.provider": "black",
50+
"python.analysis.typeCheckingMode": "off",
3551
"python.languageServer": "Pylance",
36-
"python.linting.enabled": true,
37-
"python.linting.flake8Args": ["--max-line-length=80"],
38-
"python.linting.flake8Enabled": true,
39-
"python.linting.mypyEnabled": false,
40-
"python.linting.pydocstyleArgs": ["--convention=google"],
41-
"python.linting.pylintArgs": [],
42-
"python.linting.pylintEnabled": false,
4352
"python.pythonPath": "./.venv/bin/python",
44-
"isort.args": ["--profile", "black", "--src=${workspaceFolder}"],
4553
"python.testing.pytestArgs": ["tests"],
4654
"python.testing.pytestEnabled": true,
47-
"python.testing.unittestArgs": ["-v", "-s", "./tests", "-p", "*_test.py"],
48-
"python.testing.unittestEnabled": false
55+
"python.testing.unittestEnabled": false,
56+
"ruff.fixAll": false,
57+
"ruff.organizeImports": true
4958
}

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 Grant Ramsay
3+
Copyright (c) 2023-2024 Grant Ramsay
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)