├── .pylintrc ├── settings глобальные.json ├── only_pylance_setup.json ├── settings для проекта.json └── my_full_settings.json /.pylintrc: -------------------------------------------------------------------------------- 1 | [MESSAGES CONTROL] 2 | disable = missing-function-docstring, 3 | missing-module-docstring, 4 | missing-class-docstring, 5 | import-outside-toplevel, 6 | attribute-defined-outside-init, 7 | line-too-long, 8 | invalid-str-returned, 9 | no-member 10 | -------------------------------------------------------------------------------- /settings глобальные.json: -------------------------------------------------------------------------------- 1 | { 2 | "extensions.autoCheckUpdates": false, 3 | "update.enableWindowsBackgroundUpdates": false, 4 | "extensions.autoUpdate": false, 5 | "update.showReleaseNotes": false, 6 | "update.mode": "none", 7 | 8 | "debug.inlineValues": "on", 9 | "debug.autoExpandLazyVariables": true, 10 | 11 | "editor.minimap.enabled": false, 12 | "workbench.colorTheme": "Monokai", 13 | "terminal.integrated.cursorStyle": "line", 14 | "terminal.integrated.cursorBlinking": true, 15 | "window.commandCenter": false, 16 | "workbench.startupEditor": "none", 17 | "files.autoSave": "afterDelay", 18 | "explorer.autoReveal": false, 19 | "explorer.compactFolders": false, 20 | "breadcrumbs.enabled": false, 21 | "terminal.integrated.defaultProfile.windows": "Command Prompt" 22 | } 23 | -------------------------------------------------------------------------------- /only_pylance_setup.json: -------------------------------------------------------------------------------- 1 | { 2 | //Setting up Pylance and code analysis. 3 | "python.languageServer": "Pylance", 4 | "python.analysis.typeCheckingMode": "off", 5 | "python.analysis.diagnosticMode": "openFilesOnly", 6 | "python.analysis.autoSearchPaths": true, 7 | "python.analysis.autoImportCompletions": true, 8 | "python.analysis.completeFunctionParens": true, 9 | "python.analysis.importFormat": "absolute", 10 | // Enable display of variable typing. 11 | // "python.analysis.inlayHints.variableTypes": true, 12 | // "python.analysis.inlayHints.functionReturnTypes": true, 13 | // "python.analysis.enablePytestSupport": true, 14 | "python.analysis.indexing": true, 15 | "python.analysis.packageIndexDepths": [ 16 | { 17 | "name": "aiogram", //here is the library you need 18 | "depth": 3, 19 | "includeAllSymbols": true 20 | }, 21 | //like this: 22 | // { 23 | // "name": "django", 24 | // "depth": 3, 25 | // "includeAllSymbols": true 26 | // } 27 | ], 28 | } 29 | -------------------------------------------------------------------------------- /settings для проекта.json: -------------------------------------------------------------------------------- 1 | { 2 | "git.autoRepositoryDetection": "subFolders", 3 | "breadcrumbs.enabled": true, 4 | 5 | "python.languageServer": "Pylance", 6 | "python.analysis.typeCheckingMode": "off", 7 | "python.analysis.diagnosticMode": "openFilesOnly", 8 | "python.analysis.autoSearchPaths": true, 9 | "python.analysis.autoImportCompletions": true, 10 | "python.analysis.completeFunctionParens": true, 11 | "python.analysis.inlayHints.variableTypes": true, 12 | "python.analysis.inlayHints.functionReturnTypes": true, 13 | "python.analysis.importFormat": "absolute", 14 | "python.analysis.enablePytestSupport": true, 15 | "python.analysis.indexing": true, 16 | "python.analysis.packageIndexDepths": [ 17 | { 18 | "name": "django", 19 | "depth": 3, 20 | "includeAllSymbols": true 21 | } 22 | ], 23 | 24 | "[python]": { 25 | "editor.defaultFormatter": "ms-python.black-formatter" 26 | }, 27 | "emmet.includeLanguages": { 28 | "django-html": "html" 29 | }, 30 | "files.associations": { 31 | "**/*.html": "html", 32 | "**/templates/*/*.html": "django-html", 33 | "**/templates/*/*/*.html": "django-html", 34 | "**/templates/*": "django-txt", 35 | "**/requirements{/**,*}.{txt,in}": "pip-requirements" 36 | }, 37 | "django.snippets.exclude": [ 38 | "cms", 39 | "wagtail" 40 | ], 41 | 42 | 43 | "[django-html]": { 44 | "editor.defaultFormatter": "batisteo.vscode-django", 45 | "breadcrumbs.showClasses": true, 46 | "editor.quickSuggestions": { 47 | "other": true, 48 | "comments": true, 49 | "strings": true 50 | } 51 | } 52 | } -------------------------------------------------------------------------------- /my_full_settings.json: -------------------------------------------------------------------------------- 1 | { 2 | // updates disabled 3 | "extensions.autoCheckUpdates": false, 4 | "update.enableWindowsBackgroundUpdates": false, 5 | "extensions.autoUpdate": false, 6 | "update.showReleaseNotes": false, 7 | "update.mode": "none", 8 | 9 | //terminal 10 | "terminal.integrated.cursorStyle": "line", 11 | "terminal.integrated.cursorBlinking": true, 12 | "terminal.integrated.cursorWidth": 2, 13 | "terminal.integrated.enableFileLinks": "off", 14 | "terminal.integrated.scrollback": 50, 15 | "terminal.integrated.defaultProfile.windows": "Command Prompt", 16 | 17 | //editor 18 | "editor.minimap.enabled": false, 19 | "editor.find.seedSearchStringFromSelection": "selection", 20 | "editor.accessibilitySupport": "off", 21 | "editor.autoClosingDelete": "never", 22 | "editor.autoClosingOvertype": "never", 23 | "editor.definitionLinkOpensInPeek": true, 24 | "editor.hover.delay": 100, 25 | "editor.roundedSelection": false, 26 | "editor.scrollbar.horizontal": "visible", 27 | "editor.scrollbar.vertical": "visible", 28 | "editor.scrollbar.scrollByPage": true, 29 | "editor.selectionHighlight": false, 30 | "editor.unicodeHighlight.ambiguousCharacters": false, 31 | "editor.unicodeHighlight.includeStrings": false, 32 | 33 | // comment like "this is stop sign" 34 | "debug.autoExpandLazyVariables": true, 35 | "debug.inlineValues": "on", 36 | "debug.terminal.clearBeforeReusing": true, 37 | 38 | // disable or change junk features 39 | "window.commandCenter": false, 40 | "workbench.startupEditor": "none", 41 | "explorer.autoReveal": false, 42 | "explorer.compactFolders": false, 43 | "files.autoSave": "afterDelay", 44 | "breadcrumbs.enabled": false, 45 | "workbench.cloudChanges.autoResume": "off", 46 | "workbench.cloudChanges.continueOn": "off", 47 | "workbench.enableExperiments": false, 48 | "workbench.quickOpen.closeOnFocusLost": false, 49 | "workbench.settings.enableNaturalLanguageSearch": false, 50 | "window.density.editorTabHeight": "compact", 51 | "accessibility.verbosity.comments": false, 52 | "search.defaultViewMode": "tree", 53 | "telemetry.telemetryLevel": "off", 54 | "extensions.closeExtensionDetailsOnViewChange": true, 55 | "settingsSync.keybindingsPerPlatform": false, 56 | 57 | // themes 58 | "workbench.colorTheme": "Monokai", 59 | "window.zoomLevel": 1, 60 | 61 | // git 62 | "git.autoRepositoryDetection": "subFolders", 63 | 64 | //Setting up Pylance and code analysis. 65 | "python.languageServer": "Pylance", 66 | "python.analysis.typeCheckingMode": "off", 67 | "python.analysis.diagnosticMode": "openFilesOnly", 68 | "python.analysis.autoSearchPaths": true, 69 | "python.analysis.autoImportCompletions": true, 70 | "python.analysis.completeFunctionParens": true, 71 | "python.analysis.importFormat": "absolute", 72 | // Enable display of variable typing. 73 | // "python.analysis.inlayHints.variableTypes": true, 74 | // "python.analysis.inlayHints.functionReturnTypes": true, 75 | // "python.analysis.enablePytestSupport": true, 76 | "python.analysis.indexing": true, 77 | "python.analysis.packageIndexDepths": [ 78 | { 79 | "name": "aiogram", //here is the library you need 80 | "depth": 3, 81 | "includeAllSymbols": true 82 | }, 83 | //like this: 84 | // { 85 | // "name": "django", 86 | // "depth": 3, 87 | // "includeAllSymbols": true 88 | // } 89 | ], 90 | 91 | 92 | "[python]": { 93 | "editor.defaultFormatter": "ms-python.black-formatter" 94 | }, 95 | 96 | 97 | // for django: 98 | 99 | // "emmet.includeLanguages": { 100 | // "django-html": "html" 101 | // }, 102 | 103 | // "files.associations": { 104 | // "**/*.html": "html", 105 | // "**/templates/*/*.html": "django-html", 106 | // "**/templates/*/*/*.html": "django-html", 107 | // "**/templates/*": "django-html", 108 | // "**/requirements{/**,*}.{txt,in}": "pip-requirements" 109 | // }, 110 | 111 | // "[django-html]": { 112 | // "breadcrumbs.showClasses": true, 113 | // "editor.quickSuggestions": { 114 | // "other": true, 115 | // "comments": true, 116 | // "strings": true 117 | // } 118 | // } 119 | } --------------------------------------------------------------------------------