Python Imaging Library (Fork)
Go to file
Jon Dufresne 7da17ad41e Improve pytest configuration to allow specific tests as CLI args
The previous test configuration made it difficult to run a single test
with the pytest CLI. There were two major issues:

- The Tests directory was not a package. It now includes a __init__.py
  file and imports from other tests modules are done with relative
  imports.

- setup.cfg always specified the Tests directory. So even if a specific
  test were specified as a CLI arg, this configuration would also always
  include all tests. This configuration has been removed to allow
  specifying a single test on the command line.

Contributors can now run specific tests with a single command such as:

  $ tox -e py37 -- Tests/test_file_pdf.py::TestFilePdf.test_rgb

This makes it easy and faster to iterate on a single test failure and is
very familiar to those that have previously used tox and pytest.

When running tox or pytest with no arguments, they still discover and
runs all tests in the Tests directory.
2019-01-13 09:00:12 -08:00
.github Reword 2018-09-18 13:10:34 +03:00
.travis Run lint in own job, but don't let it fail build 2018-10-17 22:29:02 +03:00
depends Merge pull request #3468 from radarhere/libwebp 2018-12-01 22:45:55 +02:00
docs Apply suggestions from code review 2019-01-06 21:29:54 +11:00
src Python del is a statement not a function 2019-01-12 18:28:35 -08:00
Tests Improve pytest configuration to allow specific tests as CLI args 2019-01-13 09:00:12 -08:00
winbuild Prefer 'except Exception:' to bare 'except:' 2018-12-04 23:25:28 +02:00
.appveyor.yml Added Python 3.5-3.7 AppVeyor builds 2018-10-08 19:43:11 +11:00
.codecov.yml Avoid "Missing base report" due to committing CHANGES.rst with "[CI skip]" 2018-01-10 16:33:15 +02:00
.coveragerc Don't exclude Windows code 2014-07-05 21:32:09 +03:00
.editorconfig Remove duplicate line [CI skip] 2016-09-03 12:37:47 +03:00
.gitattributes Set EPS test files as binary 2018-12-29 21:53:07 -08:00
.gitignore Ignore output of viewdoc (run by 'make release-test') 2019-01-06 17:21:08 +02:00
.landscape.yaml Set landscape max-line-length 2015-07-21 18:23:55 +10:00
.readthedocs.yml Install project using pip in ReadTheDocs build 2018-10-24 19:46:43 +11:00
.travis.yml CI: Run check-manifest in lint job 2019-01-01 23:22:30 +02:00
CHANGES.rst Update CHANGES.rst 2019-01-06 12:59:34 +02:00
LICENSE Updated copyright year 2019-01-03 09:32:05 +11:00
Makefile Update Python 2 doc URLs to Python 3 2018-06-09 21:04:34 -07:00
MANIFEST.in Fix for check-manifest 2019-01-01 12:56:08 +02:00
mp_compile.py Prefer 'except Exception:' to bare 'except:' 2018-12-04 23:25:28 +02:00
README.rst Added Tidelift badge 2018-12-25 13:11:11 +11:00
RELEASING.md Single backticks for inline code in Markdown (double in RST) 2019-01-06 17:26:47 +02:00
requirements.txt Sort requirements.txt alphabetically 2018-01-04 05:24:03 -08:00
selftest.py flake8: F401 imported but unused 2018-11-11 19:01:10 +02:00
setup.cfg Improve pytest configuration to allow specific tests as CLI args 2019-01-13 09:00:12 -08:00
setup.py Remove unused _tkinter var from setup.py 2019-01-11 20:27:44 -08:00
tox.ini Improve pytest configuration to allow specific tests as CLI args 2019-01-13 09:00:12 -08:00

Pillow
======

Python Imaging Library (Fork)
-----------------------------

Pillow is the friendly PIL fork by `Alex Clark and Contributors <https://github.com/python-pillow/Pillow/graphs/contributors>`_. PIL is the Python Imaging Library by Fredrik Lundh and Contributors.

.. start-badges

.. list-table::
    :stub-columns: 1

    * - docs
      - |docs|
    * - tests
      - |linux| |macos| |windows| |coverage|
    * - package
      - |zenodo| |tidelift| |version| |downloads|
    * - social
      - |gitter| |twitter|

.. |docs| image:: https://readthedocs.org/projects/pillow/badge/?version=latest
   :target: https://pillow.readthedocs.io/?badge=latest
   :alt: Documentation Status

.. |linux| image:: https://img.shields.io/travis/python-pillow/Pillow/master.svg?label=Linux%20build
   :target: https://travis-ci.org/python-pillow/Pillow
   :alt: Travis CI build status (Linux)

.. |macos| image:: https://img.shields.io/travis/python-pillow/pillow-wheels/master.svg?label=macOS%20build
   :target: https://travis-ci.org/python-pillow/pillow-wheels
   :alt: Travis CI build status (macOS)

.. |windows| image:: https://img.shields.io/appveyor/ci/python-pillow/Pillow/master.svg?label=Windows%20build
   :target: https://ci.appveyor.com/project/python-pillow/Pillow
   :alt: AppVeyor CI build status (Windows)

.. |coverage| image:: https://coveralls.io/repos/python-pillow/Pillow/badge.svg?branch=master&service=github
   :target: https://coveralls.io/github/python-pillow/Pillow?branch=master
   :alt: Code coverage

.. |zenodo| image:: https://zenodo.org/badge/17549/python-pillow/Pillow.svg
   :target: https://zenodo.org/badge/latestdoi/17549/python-pillow/Pillow

.. |tidelift| image:: https://tidelift.com/badges/github/python-pillow/Pillow?style=flat
   :target: https://tidelift.com/subscription/pkg/pypi-pillow?utm_source=pypi-pillow&utm_medium=referral&utm_campaign=readme

.. |version| image:: https://img.shields.io/pypi/v/pillow.svg
   :target: https://pypi.org/project/Pillow/
   :alt: Latest PyPI version

.. |downloads| image:: https://img.shields.io/pypi/dm/pillow.svg
   :target: https://pypi.org/project/Pillow/
   :alt: Number of PyPI downloads

.. |gitter| image:: https://badges.gitter.im/python-pillow/Pillow.svg
   :target: https://gitter.im/python-pillow/Pillow?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
   :alt: Join the chat at https://gitter.im/python-pillow/Pillow

.. |twitter| image:: https://img.shields.io/badge/tweet-on%20Twitter-00aced.svg
   :target: https://twitter.com/PythonPillow
   :alt: Follow on https://twitter.com/PythonPillow

.. end-badges



More Information
----------------

- `Documentation <https://pillow.readthedocs.io/>`_

  - `Installation <https://pillow.readthedocs.io/en/latest/installation.html>`_
  - `Handbook <https://pillow.readthedocs.io/en/latest/handbook/index.html>`_

- `Contribute <https://github.com/python-pillow/Pillow/blob/master/.github/CONTRIBUTING.md>`_

  - `Issues <https://github.com/python-pillow/Pillow/issues>`_
  - `Pull requests <https://github.com/python-pillow/Pillow/pulls>`_

- `Changelog <https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst>`_

  - `Pre-fork <https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst#pre-fork>`_