Compare commits

...

6 Commits

Author SHA1 Message Date
Charles A Moonen
32318ad98d
Merge 25506bfe57 into d49bd6f0f7 2025-01-18 21:02:43 +00:00
Devin Dooley
d49bd6f0f7
Merge pull request #4289 from csauge/patch-1
Update Python.gitignore for .ruff_cache/
2025-01-17 13:20:13 -08:00
Devin Dooley
e8554d85bf
Merge branch 'main' into patch-1 2025-01-17 13:19:34 -08:00
Christophe Saugé
4f0b7a0694
Update Python.gitignore
Add ruff cache. 
ruff tool: https://github.com/charliermarsh/ruff
ruff is becoming a very popular tool often run in pre-commit and aim to replace Flake8 (plus dozens of plugins), isort, pydocstyle, yesqa, eradicate, pyupgrade, and autoflake, all while executing tens or hundreds of times faster than any individual tool.
2023-05-01 20:49:13 +02:00
Charles A Moonen
25506bfe57
Update to match Deno source, remove things not related to Deno 2023-04-17 12:12:53 -05:00
Charles A Moonen
a3306fc085
Create Deno.gitignore
This is a good file to include for those that are choosing to use the Deno framework for new projects. I believe that the Deno project is used enough to warrant an addition to Github's library of preconfigured .gitignore files.

The contents of the provided file is a direct copy of the .gitignore file provided by the project's own repository. The file I copied is located here: https://github.com/denoland/deno/blob/main/.gitignore

To learn more about the Deno project, please visit https://deno.land

An explanation for the ignored files not mentioned in the comments directly in the file:
```
*.orig # Generally used as a backup when making changes to a file to compare with the original. These can clutter up a repository when they are left as a future reference.
*.pyc # A compiled python script
*.swp # A swap file created by the Vi editor and it's derivatives
.env # A file containing environment variables. Committing this file to a repository can pose a major security risk.

/.cargo_home/ # A directory used by Cargo: https://github.com/rust-lang/cargo#compiling-from-source
/.idea/ # A configuration directory used by JetBrains programs.
/.vscode/ # A configuration directory used by Visual Studio Code
gclient_config.py_entries # I'm not entirely sure what this is beyond that it is related to gclient, see: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+/HEAD/README.gclient.md. If you know more, please feel free to submit a PR with an explanation replacing this comment.
/gh-pages/ # A directory used by Github Pages
/target/ # Often used as an output folder when compiling, building, transpiling, etc. code.
/std/hash/_wasm/target # I assume this is a target folder when compiling web assembly. If you know, please feel free to submit a PR with an explanation replacing this comment.
/tools/wpt/manifest.json # Manifest file for web-platform-tests.
```

Please see the file in the PR for explanations of the rest of the included rules.
2022-07-02 12:06:45 -05:00
2 changed files with 23 additions and 0 deletions

20
Deno.gitignore Normal file
View File

@ -0,0 +1,20 @@
*.orig
*.pyc
*.swp
.env
gclient_config.py_entries
/target/
/std/hash/_wasm/target
/tools/wpt/manifest.json
/test_napi/node_modules
/test_napi/build
/test_napi/third_party_tests/node_modules
# Flamegraphs
/flamebench*.svg
/flamegraph*.svg
# WPT generated cert files
/tools/wpt/certs/index.txt*
/tools/wpt/certs/serial*

View File

@ -167,5 +167,8 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
# Ruff stuff:
.ruff_cache/
# PyPI configuration file
.pypirc