From d913007942f744e2bfde1782cd17e13d51bbf86b Mon Sep 17 00:00:00 2001 From: Antriksh Yadav Date: Sun, 15 Sep 2019 18:26:03 -0700 Subject: [PATCH] Updated .gitignore using ignr --- .gitignore | 134 +++++++++++++++++++++++++++++++++++++++++++++++++++-- README.md | 4 +- 2 files changed, 132 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 213f98c..3f2313b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,133 @@ -*.pyc -*.DS_Store -*.egg-info -venv/ +# Created by https://www.gitignore.io/api/python +# Edit at https://www.gitignore.io/?templates=python + +### Python ### +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python build/ +develop-eggs/ dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +pip-wheel-metadata/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +.hypothesis/ +.pytest_cache/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +.python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# celery beat schedule file +celerybeat-schedule + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# End of https://www.gitignore.io/api/python -MANIFEST \ No newline at end of file +# Generated using ignr.py - github.com/Antrikshy/ignr.py diff --git a/README.md b/README.md index 8ce8f91..04f8efd 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,13 @@ ignr.py (or simply ignr) is a Python-based command line utility to fetch .gitignore templates from [gitignore.io](https://gitignore.io). gitignore.io has official [command line tools](https://github.com/joeblau/gitignore.io#install-command-line), but they rely on bash or zsh, and *may* not be compatible with all systems out there. +The .gitignore file in this repository was generated using ignr, if you want to look at a sample! + There's also a Go-based alternative, [gogi](https://github.com/Gnouc/gogi), but not everyone uses Go. ignr was created for Python users who prefer to install via [PyPI](https://pypi.python.org/pypi) and/or [pip](https://pip.pypa.io). -Python 2 support was fully dropped in favor of Python 3 in version 2.0, released in late 2019. +>Note: Version 2.0 completely drops Python 2 support in favor of Python 3, released late-2019. ## Usage