Commit Graph

107 Commits

Author SHA1 Message Date
Omer Katz
0207a9c954 Ignore the __pypackages__ folder for pyflow users. (#3205)
See https://github.com/David-OConnor/pyflow for details.
2019-11-08 17:15:10 -04:00
Petronald Green
b2198b3e66 Added celerybeat.pid (#3229) 2019-11-08 17:06:39 -04:00
Omer Katz
3b445ebb92 Ignore coverage annotations reports. (#3131) 2019-09-20 12:59:50 -03:00
Peter Hollows
c1faae44ae Add db.sqlite3-journal to Python.gitignore (#3063)
See also 15e56afe introduced this for Rails.gitignore.

Docs on Sqlite temporary files
https://www.sqlite.org/tempfiles.html#rollback_journals

Thanks @nickittynack (Nick Reynolds)
2019-05-25 13:16:08 -03:00
John Chang
c975d35a36 Replace non-ASCII character in comment (#3050)
The curly apostrophe in the comment is causing AWS EB CLI to fail. https://stackoverflow.com/a/55988700/594211
2019-05-09 08:03:00 -03:00
Jarry Shaw
7079791ab6 Add ignore rules for Pipenv (#2977)
* Add ignore rules for Pipenv

Pipenv uses Pipfile.lock to maintain Python package information
(metadata, hash, etc.) installed as described in Pipfile. Thus,
Pipfile.lock may vary on different operating systems, platforms
when collaborating. This PR adds Pipfile.lock into the Python
default gitignore. See http://pipenv.org

* Update Python.gitignore

Not to ignore Pipfile.lock in default, but explain
when and why it should be ignored in case of
collaboration. (adjusted according to comment
in github/gitignore#2977 by @drothmaler )

* Apply suggestions from code review

Co-Authored-By: JarryShaw <jarryshaw@icloud.com>

* Update Python.gitignore

As suggested by @shiftkey , elaborate on the problems that users might see with `Pipfile.lock`.
2019-03-11 09:12:02 -03:00
Sam Roeca
866572d481 Add pip-wheel-metadata to Python.gitignore
PEP-517 has resulted in some updates to the Python
build process. As a result, a new directory called
pip-wheel-metadata is created on fresh builds.
This PR adds this directory into the Python default
gitignore. See
e5f4bbb7dd/src/pip/_internal/req/req_install.py (L568)
2019-01-25 14:23:05 -05:00
J. Kevin Bay
926a6cba3d Hide wheels directory used on Debian-like systems (Ubuntu)
See https://www.debian.org/doc/packaging-manuals/python-policy/ch-module_packages.html

tl;dr Debian Policy requires wheels to be installed here and thus issuing
python3 -m venv .
on a Debian-like system creates this directory
2018-11-09 19:59:44 -07:00
kitsuyui
e970e56c9f Add .pyre directory for Pyre type checker
Pyre is a new type-checker for Python developed by facebook in May 2018.
https://pyre-check.org/

It makes .pyre directory for storing result or cache for type checking.
This directory is environment dependent. So it should be ignored from Git.
2018-10-23 22:25:12 +09:00
Seth M. Larson
34e8d3e204
Add .nox directory for the nox testing tool
See: https://github.com/theacodes/nox
2018-09-09 15:39:02 -05:00
Brendan Forster
210c95bb02
Merge pull request #2788 from amigcamel/ignore_ipython_profile
ignore ipython profile
2018-08-26 14:22:38 -03:00
amigcamel
e675c00b8c fix typo: should be profile_default instead of default_profile 2018-08-27 00:35:37 +08:00
amigcamel
c04384de49 ignore ipython profile 2018-08-22 17:33:41 +08:00
Gabriel Curio
7bc8780913 Remove newline at end of Python.gitignore.
My preference is for files to have a terminal newline, however that
doesn't seem to be how this repo is doing things.
2018-08-18 12:25:43 -05:00
Gabriel Curio
eb4ff424fd add dmypy.json - without initial '.', to Python.gitignore.
Older versions of dmypy used 'dmypy.json' without the initial '.'.
This should be added to Python.gitignore for those using older versions
of MyPy.
2018-08-18 12:21:30 -05:00
Gabriel Curio
07a1dd6b99 add .dmypy.json to Python.gitignore.
MyPy includes a daemon server that creates a file named .dmypy.json to
manage socket connection data.
2018-08-18 12:08:55 -05:00
Brendan Forster
2eba0d635f
Merge pull request #2612 from jtogrul/master
Ignored default sqlite database of Django
2018-03-11 14:58:48 -07:00
Brendan Forster
c663a87959
Merge pull request #2577 from cyliang/master
Remove unreasonable ignores for Python/Django
2018-03-11 14:48:23 -07:00
jtogrul
4f7105bd6e Ignored default sqlite database of Django 2018-02-25 14:57:08 +01:00
raimon
f651f0d3ee Add ignore '.pytest_cache' directory in Unit test section 2018-02-04 17:03:04 +09:00
Chih-Yung Liang
690942a76e
Remove two ignores for Python/Django
Both are neither python-specific nor django-specific:
- .static_storage
- .media
2018-01-12 08:01:52 +08:00
Brendan Forster
2ec038e578 Merge pull request #2464 from Cadmus/master
updated static and media files in django section
2017-09-21 12:05:35 +10:00
Brendan Forster
211cd81a69 Merge pull request #2416 from jwg4/patch-2
Add names of backup folders created by terrarium
2017-09-09 11:27:49 +10:00
Renjith S Raj
1d0f9ccd7a updated static and media files in django section 2017-08-29 05:33:33 +00:00
jwg4
1ee9409e83 Add env.bak, re-arrange 2017-06-21 15:45:53 +00:00
jwg4
86db3967f8 Add venv.bak - created by terrarium
Terrarium backs up old virtual environments by moving them to this dir.
2017-06-21 15:42:05 +00:00
Shiwei Sun
6d5d7e0c96 add MANIFEST to Python.gitignore
add MANIFEST which is GENERATED by distutils

Reasons for making this change:

if you use distutils.core to setup, the file MANIFEST is generated by distutils when run 'python setup.py sdist'
2017-05-26 16:30:51 +08:00
jwg4
252058ed8e Consolidate all environments in one section
Some of these names relate to specific tools, others could be used by multiple tools. In particular, virtualenv, the most popular tool for creating Python environments, does not mandate any of these and venv/ or .venv are simply conventional. It is more readable to group all of these together.
2017-05-22 09:24:44 +00:00
Younggun Kim
cb129a174f Fixed typo 2017-05-12 18:08:06 +09:00
Brett Cannon
58c2abab2c Ignore mypy's cache directory 2017-05-06 13:30:48 -07:00
Brendan Forster
0a383b332e Merge pull request #2330 from random82/patch-1
Added .spyproject to ignored paths
2017-04-15 09:05:13 +10:00
Ghislain Antony Vaillant
a5a3ccd7c2 Exclude the root site folder only 2017-04-01 08:38:52 +01:00
Ghislain Antony Vaillant
3292124f06 Ignore mkdocs site directory
[mkdocs](http://www.mkdocs.org/) is rising as an alternative to Sphinx for project's documentation. The default build command puts the generated documentation in a `site` directory at the root of the project which should be ignored.
2017-03-31 09:53:22 +01:00
Dominik Raniszewski
cae82a19fb Added .spyproject to ignored paths
Looks like Spyder 3.1 uses .spyproject folder to store workspace config
2017-03-21 12:06:48 +11:00
Pedro M. Sosa
018c091310 Update Python.gitignore 2017-02-19 23:52:08 -08:00
Pedro M. Sosa
f18e690ec1 [Python Gitignore] Ignore Sage's parsed files
Ignore Sage's parsed files (*.sage.py) that are left after running a .Sage program.
2017-02-19 21:43:08 -08:00
Max
421aa579f7 Remove / from .venv 2017-02-01 17:50:44 +01:00
Max
b236b95c4d Add .venv as file 2017-01-24 13:41:24 +01:00
Rolando Espinoza
cb9eec421f Ignore wheels directory.
As eggs/ directory, wheels directory may contain compiled wheels.
2016-11-26 20:46:06 -03:00
Matt Braymer-Hayes
d8a1d416bb Rename 'IPython Notebook' comment to 'Jupyter Notebook' 2016-10-26 12:48:53 -07:00
Alexandre Bonnetain
1c652a2ffe Add hidden virtualenv to Python template 2016-08-14 15:47:01 +02:00
2Cubed
455a69dd48 Add .webassets-cache to Flask 2016-04-24 17:02:02 -04:00
Greg Trahair
4757cbc541 Added .ropeproject directory
If anyone uses the ROPE refactoring library this is certainly necessary.
2016-04-01 10:45:44 +02:00
Alexey Roslyakov
62defadb3e Python: don't track virtualenv files. 2016-03-10 17:52:54 +07:00
Abhishek Kumar Singh
83656adb09 Merge branch 'master' of github.com:github/gitignore into patch-1
Conflicts:
	Python.gitignore
2016-03-07 11:51:09 +05:30
hippo91
49a480951e No need to push .spyderproject file in a python project 2016-03-06 12:30:45 +01:00
Brendan Forster
bb217159e6 Merge pull request #1543 from barraponto/patch-2
Add scrapy stuff to .gitignore
2016-03-06 18:49:45 +11:00
roll
b37d30f194 added dotenv to python gitignore 2016-02-28 19:57:21 +03:00
Abhishek Kumar Singh
a623e9e6d4 Update Python.gitignore for celery-beat schedule binary file. 2016-02-25 12:27:21 +05:30
Harrison G
76cf90ecba Add Flask instance folder
Contains private configuration. Equivalent to Django's local_settings.py.
2016-02-12 07:14:41 -05:00