mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 02:03:35 -04:00 
			
		
		
		
	Chore: Dev Container Settings (#2253)
* add isort line length to match black * format settings * disable formatting for vue files
This commit is contained in:
		
							
								
								
									
										35
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										35
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
								
							| @@ -1,5 +1,9 @@ | ||||
| { | ||||
|   "cSpell.enableFiletypes": ["!javascript", "!python", "!yaml"], | ||||
|   "cSpell.enableFiletypes": [ | ||||
|     "!javascript", | ||||
|     "!python", | ||||
|     "!yaml" | ||||
|   ], | ||||
|   "cSpell.words": [ | ||||
|     "chowdown", | ||||
|     "compression", | ||||
| @@ -14,7 +18,9 @@ | ||||
|     "source.organizeImports": false | ||||
|   }, | ||||
|   "editor.formatOnSave": true, | ||||
|   "eslint.workingDirectories": ["./frontend"], | ||||
|   "eslint.workingDirectories": [ | ||||
|     "./frontend" | ||||
|   ], | ||||
|   "files.exclude": { | ||||
|     "**/__pycache__": true, | ||||
|     "**/.DS_Store": true, | ||||
| @@ -23,7 +29,9 @@ | ||||
|     "**/.svn": true, | ||||
|     "**/CVS": true | ||||
|   }, | ||||
|   "i18n-ally.enabledFrameworks": ["vue"], | ||||
|   "i18n-ally.enabledFrameworks": [ | ||||
|     "vue" | ||||
|   ], | ||||
|   "i18n-ally.keystyle": "nested", | ||||
|   "i18n-ally.localesPaths": "frontend/lang/messages", | ||||
|   "i18n-ally.sourceLanguage": "en-US", | ||||
| @@ -32,20 +40,33 @@ | ||||
|   "python.linting.enabled": true, | ||||
|   "python.linting.flake8Enabled": false, | ||||
|   "python.linting.pylintEnabled": false, | ||||
|   "python.linting.pylintArgs": ["--rcfile=${workspaceFolder}/.pylintrc"], | ||||
|   "python.linting.pylintArgs": [ | ||||
|     "--rcfile=${workspaceFolder}/.pylintrc" | ||||
|   ], | ||||
|   "python.testing.autoTestDiscoverOnSaveEnabled": false, | ||||
|   "python.testing.pytestArgs": ["tests"], | ||||
|   "python.testing.pytestArgs": [ | ||||
|     "tests" | ||||
|   ], | ||||
|   "python.testing.pytestEnabled": true, | ||||
|   "python.testing.unittestEnabled": false, | ||||
|   "python.analysis.typeCheckingMode": "off", | ||||
|   "python.linting.mypyEnabled": true, | ||||
|   "search.mode": "reuseEditor", | ||||
|   "python.testing.unittestArgs": ["-v", "-s", "./tests", "-p", "test_*.py"], | ||||
|   "python.testing.unittestArgs": [ | ||||
|     "-v", | ||||
|     "-s", | ||||
|     "./tests", | ||||
|     "-p", | ||||
|     "test_*.py" | ||||
|   ], | ||||
|   "explorer.fileNesting.enabled": true, | ||||
|   "explorer.fileNesting.patterns": { | ||||
|     "package.json": "package-lock.json, yarn.lock, .eslintrc.js, tsconfig.json, .prettierrc, .editorconfig", | ||||
|     "pyproject.toml": "poetry.lock, alembic.ini, .pylintrc", | ||||
|     "netlify.toml": "runtime.txt", | ||||
|     "README.md": "LICENSE, SECURITY.md" | ||||
|   } | ||||
|   }, | ||||
|   "[vue]": { | ||||
|     "editor.formatOnSave": false | ||||
|   }, | ||||
| } | ||||
|   | ||||
| @@ -71,6 +71,9 @@ requires = ["poetry-core>=1.0.0"] | ||||
| line-length = 120 | ||||
| target-version = ["py310"] | ||||
|  | ||||
| [tool.isort] | ||||
| line_length = 120 | ||||
|  | ||||
| [tool.vulture] | ||||
| exclude = ["**/models/**/*.py", "dir/"] | ||||
| ignore_decorators = ["@*router.*", "@app.on_event", "@validator", "@controller"] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user