[tox]
envlist=flake8,docs

[testenv]
deps =
    -rrequirements.txt
commands =
    python -m unittest discover

[testenv:flake8]
deps =
    flake8
    flake8-print
    flake8-todo
    pep8
    pep8-naming
commands =
    flake8 abzer

[testenv:docs]
changedir = docs/source
deps =
    -rrequirements.txt
    sphinx
commands =
    sphinx-build -q -b html . {envtmpdir}/hmtl

Use python3 for the flake8/sphinx environments

[tox]
envlist=flake8,docs

[testenv]
deps =
    -rrequirements.txt
commands =
    python -m unittest discover

[testenv:flake8]
deps =
    flake8
    flake8-print
    flake8-todo
    pep8
    pep8-naming
commands =
    flake8 abzer
basepython = python3

[testenv:docs]
changedir = docs/source
deps =
    -rrequirements.txt
    sphinx
commands =
    sphinx-build -q -b html . {envtmpdir}/hmtl
basepython = python3


[tox]
envlist = py27, py30, py31, py32, py33, py34, flake8

[testenv]
sitepackages = true
whitelist_externals = py.test
commands =
    py.test \
        --basetemp={envtmpdir} \
        --junit-xml=xunit-{envname}.xml \
        --cov=spock --cov-report=term-missing \
        -n 4 \
        {posargs}

deps =
    pytest
    pytest-capturelog
    pytest-cov
    pytest-xdist
    pycrypto
    six
    mock

[testenv:flake8]
whitelist_externals = flake8
deps =
    flake8
    flake8-import-order
    pep8-naming
commands = flake8 --show-source --statistics spock tests

Remove to have better virtualenv on development machines

[tox]
envlist = py27, py30, py31, py32, py33, py34, flake8

[testenv]
whitelist_externals = py.test
commands =
    py.test \
        --basetemp={envtmpdir} \
        --junit-xml=xunit-{envname}.xml \
        --cov=spock --cov-report=term-missing \
        -n 4 \
        {posargs}

deps =
    pytest
    pytest-capturelog
    pytest-cov
    pytest-xdist
    pycrypto
    six
    mock

[testenv:flake8]
whitelist_externals = flake8
deps =
    flake8
    flake8-import-order
    pep8-naming
commands = flake8 --show-source --statistics spock tests


[tox]
envlist = py27,pypy,py27-trunkdeps

[testenv]
setenv =
    TOXINIDIR = {toxinidir}
deps =
    -r{toxinidir}/requirements-testing.txt
    -r{toxinidir}/requirements-docs.txt
commands =
    coverage run \
        {envdir}/bin/trial --temp-directory={envdir}/_trial {posargs:merlyn}
    coverage report --show-missing
    coverage html --directory {envdir}/coverage

    sphinx-build -n -b doctest docs {envdir}/built_docs/html
    sphinx-build -n -b html docs {envdir}/built_docs/html

[testenv:py27-trunkdeps]
basepython = python2.7
deps =
    --editable=svn+svn://svn.twistedmatrix.com/svn/Twisted/trunk
    --editable=git+https://github.com/pyca/pyopenssl.git#egg=PyOpenSSL
    -rrequirements-testing.txt
    -rrequirements-docs.txt

Remove pypy as a default env until it is supported

[tox]
envlist = py27,py27-trunkdeps

[testenv]
setenv =
    TOXINIDIR = {toxinidir}
deps =
    -r{toxinidir}/requirements-testing.txt
    -r{toxinidir}/requirements-docs.txt
commands =
    coverage run \
        {envdir}/bin/trial --temp-directory={envdir}/_trial {posargs:merlyn}
    coverage report --show-missing
    coverage html --directory {envdir}/coverage

    sphinx-build -n -b doctest docs {envdir}/built_docs/html
    sphinx-build -n -b html docs {envdir}/built_docs/html

[testenv:py27-trunkdeps]
basepython = python2.7
deps =
    --editable=svn+svn://svn.twistedmatrix.com/svn/Twisted/trunk
    --editable=git+https://github.com/pyca/pyopenssl.git#egg=PyOpenSSL
    -rrequirements-testing.txt
    -rrequirements-docs.txt


[tox]
distribute = False
envlist = py26,py27,py33,pep8
minversion = 1.6
skipsdist = True

[testenv]
setenv = VIRTUAL_ENV={envdir}
         LANG=en_US.UTF-8
         LANGUAGE=en_US:en
         LC_ALL=C

deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args='{posargs}'

[testenv:pep8]
commands =
  flake8

[testenv:venv]
commands = {posargs}

[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'

[tox:jenkins]
downloadcache = ~/cache/pip

[flake8]
# F821: undefined name
ignore = F821
builtins = _
exclude = .venv,.tox,dist,doc,openstack,*egg

Work toward Python 3.4 support and testing

[tox]
distribute = False
envlist = py26,py27,py33,py34,pep8
minversion = 1.6
skipsdist = True

[testenv]
setenv = VIRTUAL_ENV={envdir}
         LANG=en_US.UTF-8
         LANGUAGE=en_US:en
         LC_ALL=C

deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args='{posargs}'

[testenv:pep8]
commands =
  flake8

[testenv:venv]
commands = {posargs}

[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'

[tox:jenkins]
downloadcache = ~/cache/pip

[flake8]
# F821: undefined name
ignore = F821
builtins = _
exclude = .venv,.tox,dist,doc,openstack,*egg


[tox]
envlist = py26, py27

[testenv]
commands = py.test
deps =
   -r{toxinidir}/requirements-dev.txt

[flake8]
exclude = build/*
max-line-length = 80

Remove py26 from env list

[tox]
envlist = py27

[testenv]
commands = py.test
deps =
   -r{toxinidir}/requirements-dev.txt

[flake8]
exclude = build/*
max-line-length = 80


[tox]
envlist = py33-d16,py27-d16,py33-d15,py27-d15,py27-d14,py26-d14

[testenv]
commands = py.test mama_cas/tests/

[base]
deps = pytest-django
       requests>=2.0.0,<3.0.0

[testenv:py33-d16]
basepython = python3.3
deps = {[base]deps}
       Django>=1.6,<1.7

[testenv:py27-d16]
basepython = python2.7
deps = {[base]deps}
       Django>=1.6,<1.7

[testenv:py33-d15]
basepython = python3.3
deps = {[base]deps}
       Django>=1.5,<1.6

[testenv:py27-d15]
basepython = python2.7
deps = {[base]deps}
       Django>=1.5,<1.6

[testenv:py27-d14]
basepython = python2.7
deps = {[base]deps}
       Django>=1.4,<1.5

[testenv:py26-d14]
basepython = python2.6
deps = {[base]deps}
       Django>=1.4,<1.5

Check for docs build errors when testing

[tox]
envlist = py33-d16,py27-d16,py33-d15,py27-d15,py27-d14,py26-d14,docs

[testenv]
commands = py.test mama_cas/tests/

[base]
deps = pytest-django
       requests>=2.0.0,<3.0.0

[testenv:py33-d16]
basepython = python3.3
deps = {[base]deps}
       Django>=1.6,<1.7

[testenv:py27-d16]
basepython = python2.7
deps = {[base]deps}
       Django>=1.6,<1.7

[testenv:py33-d15]
basepython = python3.3
deps = {[base]deps}
       Django>=1.5,<1.6

[testenv:py27-d15]
basepython = python2.7
deps = {[base]deps}
       Django>=1.5,<1.6

[testenv:py27-d14]
basepython = python2.7
deps = {[base]deps}
       Django>=1.4,<1.5

[testenv:py26-d14]
basepython = python2.6
deps = {[base]deps}
       Django>=1.4,<1.5

[testenv:docs]
basepython = python
deps = sphinx
changedir = docs
commands = sphinx-build -Wq -b html -d {envtmpdir}/doctrees . {envtmpdir}/html


[tox]
envlist = py27,py33,py34,py35,pypy,flake8
skip_missing_interpreters = true

[tox:travis]
2.7 = py27
3.3 = py33
3.4 = py34
3.5 = py35, flake8
pypy = pypy

[testenv]
commands = pytest {posargs}
deps = pytest
    pytest-cov
    pytest-catchlog
    pytest-tornado
    sqlalchemy
    pymongo
    kazoo
    redis
    rethinkdb
    tornado
    twisted
    gevent
    {py27,pypy}: mock
    {py27,pypy}: trollius
    {py33}: asyncio
    {py33,py34,py35}: pytest-asyncio

[testenv:flake8]
deps = flake8
commands = flake8 apscheduler tests
skip_install = true

Install PyQt5 when testing on Python 3.5

[tox]
envlist = py27,py33,py34,py35,pypy,flake8
skip_missing_interpreters = true

[tox:travis]
2.7 = py27
3.3 = py33
3.4 = py34
3.5 = py35, flake8
pypy = pypy

[testenv]
commands = pytest {posargs}
deps = pytest
    pytest-cov
    pytest-catchlog
    pytest-tornado
    sqlalchemy
    pymongo
    kazoo
    redis
    rethinkdb
    tornado
    twisted
    gevent
    {py27,pypy}: mock
    {py27,pypy}: trollius
    {py33}: asyncio
    {py33,py34,py35}: pytest-asyncio
    {py35}: PyQt5

[testenv:flake8]
deps = flake8
commands = flake8 apscheduler tests
skip_install = true


[tox]
envlist = py26,py27,py33,pep8

[testenv]
setenv = VIRTUAL_ENV={envdir}
         LANG=en_US.UTF-8
         LANGUAGE=en_US:en
         LC_ALL=C
         OS_STDOUT_NOCAPTURE=False
         OS_STDERR_NOCAPTURE=False

deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args='{posargs}'

[testenv:pep8]
commands =
  flake8

[testenv:venv]
commands = {posargs}

[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'

[tox:jenkins]
downloadcache = ~/cache/pip

[flake8]
# F811: redefinition of unused 'client' from line 81
# F821: undefined name
# F841: local variable is assigned to but never used
# H302: import only modules
# H304: no relative imports
ignore = F811,F821,F841,H302,H304
show-source = True
exclude = .venv,.tox,dist,doc,*egg,build

Fix and enable gating on H302: only import modules

[tox]
envlist = py26,py27,py33,pep8

[testenv]
setenv = VIRTUAL_ENV={envdir}
         LANG=en_US.UTF-8
         LANGUAGE=en_US:en
         LC_ALL=C
         OS_STDOUT_NOCAPTURE=False
         OS_STDERR_NOCAPTURE=False

deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args='{posargs}'

[testenv:pep8]
commands =
  flake8

[testenv:venv]
commands = {posargs}

[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'

[tox:jenkins]
downloadcache = ~/cache/pip

[flake8]
# F811: redefinition of unused 'client' from line 81
# F821: undefined name
# F841: local variable is assigned to but never used
# H304: no relative imports
ignore = F811,F821,F841,H304
show-source = True
exclude = .venv,.tox,dist,doc,*egg,build


# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

# Project target.
target=Google Inc.:Google APIs (x86 System Image):19
android.library=true

Revert "Use the same properties in showcaseview"

# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

# Project target.
target=android-19
android.library=true


# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

android.useAndroidX=true
android.enableJetifier=true

Increase Java heap size for Android build

# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=4096m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
org.gradle.parallel=true

android.useAndroidX=true
android.enableJetifier=true


[mypy]
python_version = 3.7
warn_return_any = True
warn_unused_configs = True
check_untyped_defs = True
follow_imports = silent
strict_optional = True
disallow_any_explicit = True
show_error_codes = True

[mypy-cairo,gi.*,pytest.*,hotshot.*]
ignore_missing_imports = True
warn_unreachable = True

[mypy-*.tests.*]
warn_no_return = False
ignore_errors = True

Remove unneeded rules from MyPy config


## TEST ENVIRONMENT PROPERTIES
spring.profiles.active=embeddedServer

## ================= Solr =================
solr.solr.home=../solr-cores/src/main/cores

# tests can overwrite this value with use of uk.ac.ebi.quickgo.repo.solr.io.ontology.TemporarySolrDataStore
# otherwise, this value ensures tests do not overwrite a real data-store
solr.data.dir=/tmp/solr-data-dir

## ================= Source Files =================
indexing.ontology.source=
indexing.ontology.chunk.size=4
indexing.ontology.skip.limit=2

indexing.geneproduct.source=gene_product.gpi
indexing.geneproduct.chunk.size=2
indexing.geneproduct.header.lines=17
indexing.geneproduct.skip.limit=100

indexing.annotation.source=goa_uniprot.gpa
indexing.annotation.chunk.size=2
indexing.annotation.header.lines=21
indexing.annotation.skip.limit=100

## ================= Co Terms Indexing =================
indexing.coterms.manual=
indexing.coterms.all=
indexing.coterm.loginterval=1000
indexing.coterms.chunk.size=1

Remove output paths for coterm indexing.

## TEST ENVIRONMENT PROPERTIES
spring.profiles.active=embeddedServer

## ================= Solr =================
solr.solr.home=../solr-cores/src/main/cores

# tests can overwrite this value with use of uk.ac.ebi.quickgo.repo.solr.io.ontology.TemporarySolrDataStore
# otherwise, this value ensures tests do not overwrite a real data-store
solr.data.dir=/tmp/solr-data-dir

## ================= Source Files =================
indexing.ontology.source=
indexing.ontology.chunk.size=4
indexing.ontology.skip.limit=2

indexing.geneproduct.source=gene_product.gpi
indexing.geneproduct.chunk.size=2
indexing.geneproduct.header.lines=17
indexing.geneproduct.skip.limit=100

indexing.annotation.source=goa_uniprot.gpa
indexing.annotation.chunk.size=2
indexing.annotation.header.lines=21
indexing.annotation.skip.limit=100

## ================= Co Terms Indexing =================
indexing.coterm.loginterval=1000
indexing.coterms.chunk.size=1


# Clip in this context refers to a portion of an image
# Also used for the title on the toolbar button
# The string "{meta_key}-V" should be translated to the region-specific
# shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the
# modifier key used in the shortcut (do not translate it): for example, Ctrl-V
# on Windows systems.
# Section for error strings
# "Out of order" is an humorous way to indicate that the service is not working
# properly.
# Section for onboarding strings
# Do not translate {termsAndPrivacyNoticeTermsLink} and
# {termsAndPrivacyNoticyPrivacyLink}. They're placeholders replaced by links
# using the corresponding translated strings as text.
# This string is used as the text for a link in termsAndPrivacyNotice
# This string is used as the text for a link in termsAndPrivacyNotice

Update Telugu (te) localization of Firefox Screenshots

# Clip in this context refers to a portion of an image
# Also used for the title on the toolbar button
# The string "{meta_key}-V" should be translated to the region-specific
# shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the
# modifier key used in the shortcut (do not translate it): for example, Ctrl-V
# on Windows systems.
# Section for error strings
# "Out of order" is an humorous way to indicate that the service is not working
# properly.
# Section for onboarding strings
# Do not translate {termsAndPrivacyNoticeTermsLink} and
# {termsAndPrivacyNoticyPrivacyLink}. They're placeholders replaced by links
# using the corresponding translated strings as text.
# This string is used as the text for a link in termsAndPrivacyNoticeCloudServices
# This string is used as the text for a link in termsAndPrivacyNoticeCloudServices


name   = Devel-StackTrace
author = Dave Rolsky <autarch@urth.org>
copyright_year = 2010

version = 1.27

[@Basic]

[InstallGuide]
[MetaJSON]

[MetaResources]
bugtracker.web    = http://rt.cpan.org/NoAuth/Bugs.html?Dist=Devel-StackTrace
bugtracker.mailto = bug-devel-stacktrace@rt.cpan.org
repository.url    = http://hg.urth.org/hg/Devel-StackTrace
repository.web    = http://hg.urth.org/hg/Devel-StackTrace
repository.type   = hg

[PodWeaver]

[PkgVersion]

[KwaliteeTests]
[NoTabsTests]
[EOLTests]
[Signature]

[CheckChangeLog]

[Prereq]
File::Spec   = 0
Scalar::Util = 0

[Prereq / TestRequires]
Test::More = 0.88

[@Mercurial]

Add license & copyright_holder, update copyright_year

name   = Devel-StackTrace
author = Dave Rolsky <autarch@urth.org>
license = Artistic_2_0
copyright_holder = Dave Rolsky
copyright_year   = 2011

version = 1.27

[@Basic]

[InstallGuide]
[MetaJSON]

[MetaResources]
bugtracker.web    = http://rt.cpan.org/NoAuth/Bugs.html?Dist=Devel-StackTrace
bugtracker.mailto = bug-devel-stacktrace@rt.cpan.org
repository.url    = http://hg.urth.org/hg/Devel-StackTrace
repository.web    = http://hg.urth.org/hg/Devel-StackTrace
repository.type   = hg

[PodWeaver]

[PkgVersion]

[KwaliteeTests]
[NoTabsTests]
[EOLTests]
[Signature]

[CheckChangeLog]

[Prereq]
File::Spec   = 0
Scalar::Util = 0

[Prereq / TestRequires]
Test::More = 0.88

[@Mercurial]


welcomeTitle2=¡Hola!
welcomeText2=Bienvenido a esta libreta de una sola página integrada a Firefox. Navega la web. Toma apuntes o notas. Así de simple.

emptyPlaceHolder=Tomar una nota…

giveFeedback=Haz clic aquí para darnos tu opinión

openingLogin=Abriendo conexión…
forgetEmail=Olvidar este correo

syncNotReady2=Lo sentimos, la sincronización de notas aún no está lista. ¡Consideraremos tu clic como motivación para darnos prisa!
syncNotes=Sincroniza tus notas
syncProgress=Sincronizando cambios…
# LOCALIZATION NOTE (disableSync): Sync is intended as a generic
# synchronization, not Firefox Sync.
disableSync=Desactivar sincronización
# LOCALIZATION NOTE (syncComplete): {date} is the date of last sync. If this
# structure doesn't work for your locale, you can translate this as "Last sync:
# {date}".
syncComplete=Sincronizado el {date}

# Tooltips for toolbar buttons
fontSizeTitle=Tamaño de la fuente
boldTitle=Negrita
italicTitle=Cursiva
strikethroughTitle=Tachado
numberedListTitle=Lista numerada
bulletedListTitle=Lista punteada
textDirectionTitle=Dirección del texto

Update Spanish (es-CL) localization of Test Pilot: Notes

welcomeTitle2=¡Hola!
welcomeText2=Bienvenido a esta libreta de una sola página integrada a Firefox. Navega la web. Toma apuntes o notas. Así de simple.

emptyPlaceHolder=Tomar una nota…

giveFeedback=Haz clic aquí para darnos tu opinión

openingLogin=Abriendo conexión…
forgetEmail=Olvidar este correo

syncNotReady2=Lo sentimos, la sincronización de notas aún no está lista. ¡Consideraremos tu clic como motivación para darnos prisa!
syncNotes=Sincroniza tus notas
syncProgress=Sincronizando cambios…
# LOCALIZATION NOTE (disableSync): Sync is intended as a generic
# synchronization, not Firefox Sync.
disableSync=Desactivar sincronización
# LOCALIZATION NOTE (syncComplete): {date} is the date of last sync. If this
# structure doesn't work for your locale, you can translate this as "Last sync:
# {date}".
syncComplete=Sincronizado el {date}

# Tooltips for toolbar buttons
fontSizeTitle=Tamaño de la fuente
boldTitle=Negrita
italicTitle=Cursiva
strikethroughTitle=Tachado
numberedListTitle=Lista numerada
bulletedListTitle=Lista punteada
textDirectionTitle=Dirección del texto

# Settings page labels
themeLegend=Tema
defaultThemeTitle=Por defecto
darkThemeTitle=Oscuro


join_maker_party=Присъединете се към Maker Party.
make_a_diff=Дайте своя принос.
get_started=Да започнем
already_have_event=Вече имате събитие? Вход
overview=Преглед
what_is_maker_party=Какво е Maker Party?
why_love_maker_party=Защо хората обичат Maker Party
learn_more=Научете повече
partner=Партньор
become_maker_party_partner=Станете партньор на Maker Party. Заедно можем да помогнем за реформа на авторското право в Европа.
press=Преса
contact=Контакт
sign_petition=Подпишете петицията

Update Bulgarian (bg) localization of Mozilla Learning Network

join_maker_party=Присъединете се към Maker Party.
make_a_diff=Дайте своя принос.
get_started=Да започнем
already_have_event=Вече имате събитие? Вход
overview=Преглед
what_is_maker_party=Какво е Maker Party?
why_love_maker_party=Защо хората обичат Maker Party
learn_more=Научете повече
partner=Партньорство
become_maker_party_partner=Станете партньор на Maker Party. Заедно можем да помогнем за реформа на авторското право в Европа.
press=Преса
contact=Контакт
sign_petition=Подписване на петицията


; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter, extra scripting
;   Upload options: custom port, speed and extra flags
;   Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/en/stable/projectconf.html

[env:uno]
platform = atmelavr
board = uno
framework = arduino
build_flags = -D DIGITAL_VALUES=2 -D ANALOG_VALUES=2 -Os -Wall

Add arduino pro mini build target

; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter, extra scripting
;   Upload options: custom port, speed and extra flags
;   Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/en/stable/projectconf.html

[env:uno]
platform = atmelavr
board = uno
framework = arduino
build_flags = -D DIGITAL_VALUES=2 -D ANALOG_VALUES=2 -Os -Wall

[env:promini]
platform = atmelavr
board = pro16MHzatmega328
framework = arduino
build_flags = -D DIGITAL_VALUES=2 -D ANALOG_VALUES=2 -Os -Wall


name=kafka-jenkins-source-connector
connector.class=org.aravind.oss.kafka.connect.jenkins.JenkinsSourceConnector
tasks.max=1
topic=jenkins.connector.topic
jenkins.base.url=<<add jenkins url here>>
jenkins.connection.timeoutInMillis=500
jenkins.read.timeoutInMillis=3000

Add poll interval to template properties file

name=kafka-jenkins-source-connector
connector.class=org.aravind.oss.kafka.connect.jenkins.JenkinsSourceConnector
tasks.max=1
topic=jenkins.connector.topic
jenkins.base.url=<<add jenkins url here>>
jenkins.connection.timeoutInMillis=500
jenkins.read.timeoutInMillis=3000
jenkins.pollIntervalInMillis=<<add poll interval here>>


# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

config.rule.item.controls.edit.label=✏
config.rule.item.controls.edit.tooltip=Edit
config.rule.item.controls.delete.label=×
config.rule.item.controls.delete.tooltip=Delete

Use LOWER RIGHT PENCIL instead of PENCIL

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

config.rule.item.controls.edit.label=✎
config.rule.item.controls.edit.tooltip=Edit
config.rule.item.controls.delete.label=×
config.rule.item.controls.delete.tooltip=Delete


index.temp.directory = /tmp
index.references.BioEntity = synonyms organism crossReferences
index.references.OntologyTerm = synonyms
index.references.Gene = proteins.proteinDomains goAnnotation.ontologyTerm
index.references.Protein = proteinDomains
index.references.Submission = experiment lab project antibodies.target properties strains.target cellLines.target

index.ignore = Comment CrossReference ExpressionLevel Homologue Interaction Location OntologyAnnotation OntologyRelation Sequence Synonym

index.facet.single.Category = Category
index.facet.single.Organism = organism.shortName
index.facet.single.Experiment = experiment.name

index.boost.Gene = 1.5
index.boost.Protein = 1.2

search.debug = false

Remove more classes from keyword search.

index.temp.directory = /tmp
index.references.BioEntity = synonyms organism crossReferences
index.references.OntologyTerm = synonyms
index.references.Gene = proteins.proteinDomains goAnnotation.ontologyTerm
index.references.Protein = proteinDomains
index.references.Submission = experiment lab project antibodies.target properties strains.target cellLines.target

index.ignore = Comment CrossReference Exon ExonRegion ExpressionLevel Homologue Interaction Intron Location OntologyAnnotation OntologyRelation OverlappingESTSet Sequence Synonym

index.facet.single.Category = Category
index.facet.single.Organism = organism.shortName
index.facet.single.Experiment = experiment.name

index.boost.Gene = 1.5
index.boost.Protein = 1.2

search.debug = false


[Settings]
gtk-theme-name=Arc
gtk-icon-theme-name=Adwaita
gtk-font-name=Cantarell 11
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=rgb

Change GTK theme to Numix

[Settings]
gtk-theme-name=Arc
gtk-icon-theme-name=Numix
gtk-font-name=Cantarell 11
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=rgb


[tox]
envlist = py27, flake8

[testenv]
sitepackages = true
install_command = pip install --allow-unverified=mopidy --pre {opts} {packages}
commands =
    py.test \
        --basetemp={envtmpdir} \
        --junit-xml=xunit-{envname}.xml \
        --cov=mopidy_pandora --cov-report=term-missing
deps =
    mock
    mopidy
    pytest
    pytest-capturelog
    pytest-cov
    pytest-xdist
    responses

[testenv:flake8]
skip_install = true
sitepackages = false
deps =
    flake8
    flake8-import-order
    pep8-naming
commands = flake8 --show-source --statistics --max-line-length 120 mopidy_pandora/ setup.py tests/

Add py.test to testenv whitelist to suppress warning message for external command.

[tox]
envlist = py27, flake8

[testenv]
sitepackages = true
whitelist_externals=py.test
install_command = pip install --allow-unverified=mopidy --pre {opts} {packages}
commands =
    py.test \
        --basetemp={envtmpdir} \
        --junit-xml=xunit-{envname}.xml \
        --cov=mopidy_pandora --cov-report=term-missing
deps =
    mock
    mopidy
    pytest
    pytest-capturelog
    pytest-cov
    pytest-xdist
    responses

[testenv:flake8]
skip_install = true
sitepackages = false
deps =
    flake8
    flake8-import-order
    pep8-naming
commands = flake8 --show-source --statistics --max-line-length 120 mopidy_pandora/ setup.py tests/


[tox]
envlist = clean,{py27,py33,py34,pypy}-django{17,trunk},docs,status
skip_missing_interpreters = true

[flake8]
ignore = E501,E128

[testenv]
deps=
  django17: Django>=1.7,<1.8
  djangotrunk: git+https://github.com/django/django.git
  coverage
  pypy: psycopg2cffi
  py27,py33,py34: psycopg2
commands=
  pypy: /bin/sh -c "echo 'from psycopg2cffi import compat; compat.register()' > {envdir}/site-packages/psycopg2.py"
  coverage run --branch --source=boardinghouse --omit="boardinghouse/contrib/*" -a setup.py test

[testenv:clean]
deps=
  coverage
commands=
  coverage erase

[testenv:docs]
changedir=docs
deps= -rdocs/requirements.txt
commands=
  make
  sphinx-build -b html -d build/doctrees source  build/html
whitelist_externals=
  /usr/bin/make

[testenv:example1]
changedir=examples/boarding_school
commands=
  make clean
  make database
  make test
whitelist_externals=
  /usr/bin/make

[testenv:flake8]
deps=
  flake8
commands=
  flake8 boardinghouse

[testenv:status]
deps=
  coverage
commands=
  coverage report
  coverage html
  ./badges.sh

Add pypy3 to the build matrix.

[tox]
envlist = clean,{py27,py33,py34,pypy,pypy3}-django{17,trunk},docs,status
skip_missing_interpreters = true

[flake8]
ignore = E501,E128

[testenv]
deps=
  django17: Django>=1.7,<1.8
  djangotrunk: git+https://github.com/django/django.git
  coverage
  pypy: psycopg2cffi
  py27,py33,py34: psycopg2
commands=
  pypy: /bin/sh -c "echo 'from psycopg2cffi import compat; compat.register()' > {envdir}/site-packages/psycopg2.py"
  coverage run --branch --source=boardinghouse --omit="boardinghouse/contrib/*" -a setup.py test

[testenv:clean]
deps=
  coverage
commands=
  coverage erase

[testenv:docs]
changedir=docs
deps= -rdocs/requirements.txt
commands=
  make
  sphinx-build -b html -d build/doctrees source  build/html
whitelist_externals=
  /usr/bin/make

[testenv:example1]
changedir=examples/boarding_school
commands=
  make clean
  make database
  make test
whitelist_externals=
  /usr/bin/make

[testenv:flake8]
deps=
  flake8
commands=
  flake8 boardinghouse

[testenv:status]
deps=
  coverage
commands=
  coverage report
  coverage html
  ./badges.sh


[tox]
envlist = {py27,pypy}-{twtrunk,twlatest,tw150}

[testenv]
deps =
    .[test]
    twlatest: Twisted
    twtrunk: https://github.com/twisted/twisted/archive/trunk.zip
    tw150: Twisted==15.0
    coverage
# Travis doesn't have a new enough PyPy for this to work yet
    pypy: cryptography < 1.0
commands =
    coverage run {envdir}/bin/trial \
        --temp-directory={envdir}/_trial {posargs:axiom}
    coverage report --rcfile={toxinidir}/.coveragerc
    coverage html --rcfile={toxinidir}/.coveragerc --directory {envdir}/_coverage

Drop cryptography constaint now that we install our own PyPy.

[tox]
envlist = {py27,pypy}-{twtrunk,twlatest,tw150}

[testenv]
deps =
    .[test]
    twlatest: Twisted
    twtrunk: https://github.com/twisted/twisted/archive/trunk.zip
    tw150: Twisted==15.0
    coverage
commands =
    coverage run {envdir}/bin/trial \
        --temp-directory={envdir}/_trial {posargs:axiom}
    coverage report --rcfile={toxinidir}/.coveragerc
    coverage html --rcfile={toxinidir}/.coveragerc --directory {envdir}/_coverage


[tox]
minversion = 1.6
skipsdist = True
envlist = py26,py27,py33,pep8

[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
         LANG=en_US.UTF-8
         LANGUAGE=en_US:en
         OS_STDOUT_NOCAPTURE=False
         OS_STDERR_NOCAPTURE=False

deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args='{posargs}'

[testenv:pep8]
commands =
  flake8

[testenv:venv]
commands = {posargs}

[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'

[tox:jenkins]
downloadcache = ~/cache/pip

[flake8]
# F821: undefined name
# H304: no relative imports
ignore = F821,H304
show-source = True
exclude = .venv,.tox,dist,doc,*egg,build

Allow commit title messages to end with a period.

[tox]
minversion = 1.6
skipsdist = True
envlist = py26,py27,py33,pep8

[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
         LANG=en_US.UTF-8
         LANGUAGE=en_US:en
         OS_STDOUT_NOCAPTURE=False
         OS_STDERR_NOCAPTURE=False

deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args='{posargs}'

[testenv:pep8]
commands =
  flake8

[testenv:venv]
commands = {posargs}

[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'

[tox:jenkins]
downloadcache = ~/cache/pip

[flake8]
# F821: undefined name
# H304: no relative imports
# H803  Commit message should not end with a period (do not remove per list discussion)
ignore = F821,H304,H803
show-source = True
exclude = .venv,.tox,dist,doc,*egg,build


[tox]
envlist = py27,py34,py35,py36

[testenv]
passenv = *
deps =
  hdfs>=2.0.0
  impyla>=0.13.7
  mock
  psycopg2
  sqlalchemy>=1.0.0
  thrift<=0.9.3
commands=py.test --doctest-modules --doctest-ignore-import-errors -rsxX --junitxml="$CIRCLE_TEST_REPORTS/junit.xml" --tb=short -m 'not udf' --pyargs ibis

[testenv:py27]
passenv = *
deps =
  {[testenv]deps}
  enum34
  pytest<3
commands={[testenv]commands}

[testenv:py34]
passenv = *
deps =
  {[testenv]deps}
  thriftpy<=0.3.9
  pytest>=3
commands={[testenv]commands}

[testenv:py35]
passenv = *
deps =
  {[testenv]deps}
  thriftpy<=0.3.9
  pytest>=3
commands={[testenv]commands}

[testenv:py36]
passenv = *
deps =
  {[testenv]deps}
  thriftpy<=0.3.9
  pytest>=3
commands={[testenv]commands}

Remove module filters from test runs

[tox]
envlist = py27,py34,py35,py36

[testenv]
passenv = *
deps =
  hdfs>=2.0.0
  impyla>=0.13.7
  mock
  psycopg2
  sqlalchemy>=1.0.0
  thrift<=0.9.3
commands=py.test --doctest-modules --doctest-ignore-import-errors -rsxX --junitxml="$CIRCLE_TEST_REPORTS/junit.xml" --tb=short --pyargs ibis

[testenv:py27]
passenv = *
deps =
  {[testenv]deps}
  enum34
  pytest<3
commands={[testenv]commands}

[testenv:py34]
passenv = *
deps =
  {[testenv]deps}
  thriftpy<=0.3.9
  pytest>=3
commands={[testenv]commands}

[testenv:py35]
passenv = *
deps =
  {[testenv]deps}
  thriftpy<=0.3.9
  pytest>=3
commands={[testenv]commands}

[testenv:py36]
passenv = *
deps =
  {[testenv]deps}
  thriftpy<=0.3.9
  pytest>=3
commands={[testenv]commands}


[tox]
envlist = py27,py34,py35,packaging,pep8

[testenv]
setenv =
    PYTHONDONTWRITEBYTECODE = no_byte_code
    PYTHONPATH = {toxinidir}/matrix_client
deps = .[test]
commands=/bin/bash -c "py.test test"

[testenv:pep8]
skip_install = True
commands = /bin/bash -c "flake8 matrix_client samples {env:PEP8SUFFIX:}"

[testenv:packaging]
deps =
    check-manifest
commands =
    check-manifest

Add testing for python 3.6

[tox]
envlist = py27,py34,py35,py36,packaging,pep8

[testenv]
setenv =
    PYTHONDONTWRITEBYTECODE = no_byte_code
    PYTHONPATH = {toxinidir}/matrix_client
deps = .[test]
commands=/bin/bash -c "py.test test"

[testenv:pep8]
skip_install = True
commands = /bin/bash -c "flake8 matrix_client samples {env:PEP8SUFFIX:}"

[testenv:packaging]
deps =
    check-manifest
commands =
    check-manifest


[tox]
envlist = py27, py34, py35, py36, py37, pypy, pypy3, py27-flake8, py37-flake8, integration
skip_missing_interpreters = True

[testenv]
commands =
    pip install -r test-requirements.txt
    pip install -e .
    py.test {posargs:pymemcache/test/}

[testenv:integration]
commands =
    pip install -r test-requirements.txt
    pip install -e .
    py.test {posargs:pymemcache/test/ -m integration}

[testenv:py27-flake8]
commands =
    pip install flake8
    flake8 pymemcache/

[testenv:py37-flake8]
commands =
    pip install flake8
    flake8 pymemcache/

[testenv:docs]
commands =
    pip install -r docs-requirements.txt -r test-requirements.txt
    sphinx-apidoc -o docs/apidoc/ pymemcache
    sphinx-build -b html docs/ docs/_build

Check reStructuredText along with flake8

[tox]
envlist = py27, py34, py35, py36, py37, pypy, pypy3, py27-flake8, py37-flake8, integration
skip_missing_interpreters = True

[testenv]
commands =
    pip install -r test-requirements.txt
    pip install -e .
    py.test {posargs:pymemcache/test/}

[testenv:integration]
commands =
    pip install -r test-requirements.txt
    pip install -e .
    py.test {posargs:pymemcache/test/ -m integration}

[testenv:py27-flake8]
commands =
    pip install flake8
    flake8 pymemcache/
    python setup.py check --restructuredtext

[testenv:py37-flake8]
commands =
    pip install flake8
    flake8 pymemcache/
    python setup.py check --restructuredtext

[testenv:docs]
commands =
    pip install -r docs-requirements.txt -r test-requirements.txt
    sphinx-apidoc -o docs/apidoc/ pymemcache
    sphinx-build -b html docs/ docs/_build


# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py26, py27, py32, py33, pypy, lint, docs, coverage

[flake8]
max-line-length = 110
exclude = .tox,.git,doc

[testenv]
deps =
  nose
  mock
commands =
  # We run export tests as well, so install Jinja2 too
  pip install -q jinja2>=2.7,<2.8
  nosetests {posargs}

[testenv:lint]
deps =
    flake8
    pep8-naming
commands =
    flake8 test honcho

[testenv:docs]
changedir = doc
deps =
    sphinx
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

[testenv:coverage]
deps =
    {[testenv]deps}
    coverage
commands =
    nosetests --with-coverage --cover-branches --cover-package honcho {posargs:test/unit}

Add jinja dependency in coverage tests

# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py26, py27, py32, py33, pypy, lint, docs, coverage

[flake8]
max-line-length = 110
exclude = .tox,.git,doc

[testenv]
deps =
  nose
  mock
commands =
  # We run export tests as well, so install Jinja2 too
  pip install -q jinja2>=2.7,<2.8
  nosetests {posargs}

[testenv:lint]
deps =
    flake8
    pep8-naming
commands =
    flake8 test honcho

[testenv:docs]
changedir = doc
deps =
    sphinx
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

[testenv:coverage]
deps =
    {[testenv]deps}
    coverage
commands =
    # We run export tests as well, so install Jinja2 too
    pip install -q jinja2>=2.7,<2.8
    nosetests --with-coverage --cover-branches --cover-package honcho {posargs:test/unit}


[tox]
envlist=test-{py26,py27,py33,py34,py35}
skipsdist=true

[tox:travis]
3.5 = py35, coveralls, pyflakes

[testenv]
deps=
    unittest2
    python-dateutil
    repeated_test
    sigtools>=1.1a2
    py26: ordereddict
    docs: sphinx
    cover,coveralls: coverage
    coveralls: coveralls

commands=
    test: {posargs:{envbindir}/unit2}
    cover: coverage erase
    cover-all: coverage run {posargs:-m unittest2}
    cover-util: coverage run -m unittest2 clize.tests.test_util
    cover-help: coverage run -m unittest2 clize.tests.test_help
    cover: coverage html
    cover-all: coverage report
    cover-util: coverage report --include 'clize/util.py'
    cover-help: coverage report --include 'clize/help.py'
    docs: python -m setup build_sphinx

[testenv:coveralls]
passenv=TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
commands=
    coverage run --source clize -m unittest2
    coveralls

[testenv:pyflakes]
deps=
    pyflakes
commands=
    pyflakes clize

Build sphinx docs directly rather than through setuptools

[tox]
envlist=test-{py26,py27,py33,py34,py35}
skipsdist=true

[tox:travis]
3.5 = py35, coveralls, pyflakes

[testenv]
deps=
    unittest2
    python-dateutil
    repeated_test
    sigtools>=1.1a2
    py26: ordereddict
    docs: sphinx
    cover,coveralls: coverage
    coveralls: coveralls

commands=
    test: {posargs:{envbindir}/unit2}
    cover: coverage erase
    cover-all: coverage run {posargs:-m unittest2}
    cover-util: coverage run -m unittest2 clize.tests.test_util
    cover-help: coverage run -m unittest2 clize.tests.test_help
    cover: coverage html
    cover-all: coverage report
    cover-util: coverage report --include 'clize/util.py'
    cover-help: coverage report --include 'clize/help.py'
    docs: {envbindir}/sphinx-build {toxinidir}/docs/ {toxinidir}/build/sphinx {posargs:}

[testenv:coveralls]
passenv=TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
commands=
    coverage run --source clize -m unittest2
    coveralls

[testenv:pyflakes]
deps=
    pyflakes
commands=
    pyflakes clize


[tox]
envlist = py{311,310,39,38,37,36,py3}
skip_missing_interpreters = True

[testenv]
usedevelop = true
deps =
    -r requirements-tests.txt
commands =
    python -bb -m pytest {posargs}

[testenv:flake8]
usedevelop = true
deps =
    -r requirements-tests.txt
commands =
    python -m flake8 docs tools src tests

Add `setup.py` as a flake8 testing target

[tox]
envlist = py{311,310,39,38,37,36,py3}
skip_missing_interpreters = True

[testenv]
usedevelop = true
deps =
    -r requirements-tests.txt
commands =
    python -bb -m pytest {posargs}

[testenv:flake8]
usedevelop = true
deps =
    -r requirements-tests.txt
commands =
    python -m flake8 docs tools src tests setup.py


[tox]
envlist = py26,py27,py33,pypy,pep8
minversion = 1.6
skipsdist = True

[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}

deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args="{posargs}"

[testenv:pep8]
commands =
    flake8 swiftclient tests

[testenv:venv]
commands = {posargs}

[testenv:cover]
commands = python setup.py testr --coverage

[tox:jenkins]
downloadcache = ~/cache/pip

[testenv:docs]
commands=
    python setup.py build_sphinx

[flake8]
# it's not a bug that we aren't using all of hacking
# H102 -> apache2 license exists
# H103 -> license is apache
# H201 -> no bare excepts
# H501 -> don't use locals() for str formatting
# H903 -> \n not \r\n
ignore = H
select = H102, H103, H201, H501, H903
show-source = True
exclude = .venv,.tox,dist,doc,test,*egg

Work toward Python 3.4 support and testing

[tox]
envlist = py26,py27,py33,py34,pypy,pep8
minversion = 1.6
skipsdist = True

[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}

deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args="{posargs}"

[testenv:pep8]
commands =
    flake8 swiftclient tests

[testenv:venv]
commands = {posargs}

[testenv:cover]
commands = python setup.py testr --coverage

[tox:jenkins]
downloadcache = ~/cache/pip

[testenv:docs]
commands=
    python setup.py build_sphinx

[flake8]
# it's not a bug that we aren't using all of hacking
# H102 -> apache2 license exists
# H103 -> license is apache
# H201 -> no bare excepts
# H501 -> don't use locals() for str formatting
# H903 -> \n not \r\n
ignore = H
select = H102, H103, H201, H501, H903
show-source = True
exclude = .venv,.tox,dist,doc,test,*egg


[nosetests]
verbosity=2
with-coverage=1
cover-package=brew
cover-erase=1
cover-min-percentage=60
cover-inclusive=1
with-doctest=1
with-xunit=1
xunit-file=nosetests.xml
logging-filter=-factory

Increase minimum test coverate to 90%

[nosetests]
verbosity=2
with-coverage=1
cover-package=brew
cover-erase=1
cover-min-percentage=90
cover-inclusive=1
with-doctest=1
with-xunit=1
xunit-file=nosetests.xml
logging-filter=-factory


sonar.projectKey=org.sonarqube:audio-tk
sonar.projectName=Audio ToolKit
sonar.projectVersion=2.3.2

sonar.sources=.

sonar.language=cpp

# The build-wrapper output dir
sonar.cfamily.build-wrapper-output=bw-outputs

# Encoding of the source files
sonar.sourceEncoding=UTF-8

Update the sonar profile to use

sonar.projectKey=org.sonarqube:audio-tk
sonar.projectName=Audio ToolKit
sonar.projectVersion=2.3.2
sonar.profile="Audio ToolKit"

sonar.sources=.

sonar.language=cpp

# The build-wrapper output dir
sonar.cfamily.build-wrapper-output=bw-outputs

# Encoding of the source files
sonar.sourceEncoding=UTF-8


# See http://luci-config.appspot.com/schemas/projects/refs:cq.cfg for the
# documentation of this file format.

version: 1
cq_name: "recipe_engine"
git_repo_url: "https://github.com/luci/recipes-py.git"
cq_status_url: "https://chromium-cq-status.appspot.com"
rietveld {
  url: "https://codereview.chromium.org"
}
verifiers {
  reviewer_lgtm {
     committer_list: "project-infra-committers"
  }
  try_job {
    buckets {
      name: "luci.infra.try"
      builders { name: "Recipes-py Presubmit" }
    }
    buckets {
      name: "luci.infra.recipe_engine.try"
      builders {
        name: "depot_tools Roll Tester"
        experiment_percentage: 100
      }
      builders {
        name: "build Roll Tester"
        experiment_percentage: 100
      }
    }
  }
}

Add more experimental downstream trybots

# See http://luci-config.appspot.com/schemas/projects/refs:cq.cfg for the
# documentation of this file format.

version: 1
cq_name: "recipe_engine"
git_repo_url: "https://github.com/luci/recipes-py.git"
cq_status_url: "https://chromium-cq-status.appspot.com"
rietveld {
  url: "https://codereview.chromium.org"
}
verifiers {
  reviewer_lgtm {
     committer_list: "project-infra-committers"
  }
  try_job {
    buckets {
      name: "luci.infra.try"
      builders { name: "Recipes-py Presubmit" }
    }
    buckets {
      name: "luci.infra.recipe_engine.try"
      builders {
        name: "depot_tools Roll Tester"
        experiment_percentage: 100
      }
      builders {
        name: "build Roll Tester"
        experiment_percentage: 100
      }
      builders {
        name: "infra Roll Tester"
        experiment_percentage: 100
      }
      builders {
        name: "skia Roll Tester"
        experiment_percentage: 100
      }
      builders {
        name: "skiabuildbot Roll Tester"
        experiment_percentage: 100
      }
    }
  }
}


# See http://luci-config.appspot.com/schemas/projects/refs:cq.cfg for the
# documentation of this file format.

version: 1
cq_name: "catapult"
git_repo_url: "https://chromium.googlesource.com/catapult"
cq_status_url: "https://chromium-cq-status.appspot.com"

gerrit {}

verifiers {
  gerrit_cq_ability {
     committer_list: "project-catapult-committers"
     dry_run_access_list: "project-chromium-tryjob-access"
  }

  try_job {
    buckets {
      name: "master.tryserver.client.catapult"
      builders {
        name: "Catapult Presubmit"
      }
      builders {
        name: "Catapult Android Tryserver"
      }
      builders {
        name: "Catapult Linux Tryserver"
      }
      builders {
        name: "Catapult Mac Tryserver"
      }
      builders {
        name: "Catapult Windows Tryserver"
      }
    }
  }
}

Switch to using new LUCI linux tryserver.

# See http://luci-config.appspot.com/schemas/projects/refs:cq.cfg for the
# documentation of this file format.

version: 1
cq_name: "catapult"
git_repo_url: "https://chromium.googlesource.com/catapult"
cq_status_url: "https://chromium-cq-status.appspot.com"

gerrit {}

verifiers {
  gerrit_cq_ability {
     committer_list: "project-catapult-committers"
     dry_run_access_list: "project-chromium-tryjob-access"
  }

  try_job {
    buckets {
      name: "master.tryserver.client.catapult"
      builders {
        name: "Catapult Presubmit"
      }
      builders {
        name: "Catapult Android Tryserver"
      }
      builders {
        name: "Catapult Mac Tryserver"
      }
      builders {
        name: "Catapult Windows Tryserver"
      }
    }

    buckets {
      name: "luci.catapult.try"
      builders {
        name: "Catapult Linux Tryserver"
      }
    }
  }
}


tooltip_play= Reproducir
tooltip_pause= Pausar
tooltip_mute= Silenciar
tooltip_unmute= Escuchar
tooltip_send_to_tab= Enviar a pestaña
tooltip_minimize= Minimizar
tooltip_maximize= Maximizar
tooltip_close= Cerrar
error_msg= Algo está mal con este video. Vuelve a intentarlo más tarde.
error_link= Abrir en nueva pestaña
# LOCALIZATION NOTE: placeholder is domain name
loading_msg= Cargando video desde %s
content_menu_msg= Enviar a mini reproductor

Update Spanish (es-CL) localization of Test Pilot: Min Vid

tooltip_play= Reproducir
tooltip_pause= Pausar
tooltip_mute= Silenciar
tooltip_unmute= Escuchar
tooltip_send_to_tab= Enviar a pestaña
tooltip_minimize= Minimizar
tooltip_maximize= Maximizar
tooltip_close= Cerrar
error_msg= Algo está mal con este video. Vuelve a intentarlo más tarde.
error_link= Abrir en nueva pestaña
# LOCALIZATION NOTE: 1st placeholder is media type, 2nd is domain name
content_menu_msg= Enviar a mini reproductor


[buildout]
parts +=
    convertit-script
    bpython

extends =
    buildout.cfg

eggs +=
    convertit
    screamshotter
    django-debug-toolbar
    django-extensions
    six
    mock
    Werkzeug
    watchdog
    bpython
    pydot
    pyparsing

[bpython]
recipe = zc.recipe.egg:scripts
eggs = ${buildout:eggs}
scripts = bpython

[django]
settings = settings.dev

[convertit-script]
recipe = zc.recipe.egg
eggs = convertit
# Supposed to be ran like (pserve) : convertit src/convertit/development.ini
scripts = convertit
entry-points = convertit=pyramid.scripts.pserve:main

[versions]
pyparsing = 1.5.7

Fix debug-toolbar dep for now

[buildout]
parts +=
    convertit-script
    bpython

extends =
    buildout.cfg

eggs +=
    convertit
    screamshotter
    django-debug-toolbar
    django-extensions
    six
    mock
    Werkzeug
    watchdog
    bpython
    pydot
    pyparsing

[bpython]
recipe = zc.recipe.egg:scripts
eggs = ${buildout:eggs}
scripts = bpython

[django]
settings = settings.dev

[convertit-script]
recipe = zc.recipe.egg
eggs = convertit
# Supposed to be ran like (pserve) : convertit src/convertit/development.ini
scripts = convertit
entry-points = convertit=pyramid.scripts.pserve:main

[versions]
pyparsing = 1.5.7
django-debug-toolbar=1.3.2


[tox]
envlist = flake8,py27

[flake8]
max-line-length = 180

[testenv:flake8]
deps =
    flake8
skip_install = True
commands = flake8

Enable 'pylint' source code analyzing


[tox]
# official list is
# envlist = py27, py33, py34, pypy, jython
# envlist = py27, py34
envlist = py27, py33, pylint

[testenv:pylint]
deps =
  lazy-object-proxy
  six
  wrapt
  hg+https://bitbucket.org/logilab/astroid
  hg+https://bitbucket.org/logilab/pylint
commands = pylint -rn --rcfile={toxinidir}/pylintrc {envsitepackagesdir}/astroid

[testenv]
deps =
  lazy-object-proxy
  six
  wrapt

commands = python -m unittest discover -s {envsitepackagesdir}/astroid/tests -p "unittest*.py"

Disable pylint job temporarily until it gets fixed.

[tox]
# official list is
# envlist = py27, py33, py34, pypy, jython
# envlist = py27, py34
# envlist = py27, py33, pylint
# Disable pylint for now, since it's broken for latest astroid
envlist = py27, py33

[testenv:pylint]
deps =
  lazy-object-proxy
  six
  wrapt
  hg+https://bitbucket.org/logilab/astroid
  hg+https://bitbucket.org/logilab/pylint
commands = pylint -rn --rcfile={toxinidir}/pylintrc {envsitepackagesdir}/astroid

[testenv]
deps =
  lazy-object-proxy
  six
  wrapt

commands = python -m unittest discover -s {envsitepackagesdir}/astroid/tests -p "unittest*.py"


# Tox configuration file
# ======================
#
# Tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
# py32 not supported by tox and pytest
envlist = py27,py34,py35,py36,pypy,docs

[testenv]
commands = pytest --cov-report term-missing --cov=deprecated tests/
deps =
    pytest < 4
    pytest-cov < 3

[testenv:docs]
basepython = python
deps =
    sphinx < 2
    requests[security] < 3
commands =
    sphinx-build -b html  -d {envtmpdir}/doctrees docs/source/ {envtmpdir}/html
    sphinx-build -b epub2 -d {envtmpdir}/doctrees docs/source/ {envtmpdir}/epub

Change Tox configuration in order to build the documentation in epub3 format instead of epub2 (which support is now removed).

# Tox configuration file
# ======================
#
# Tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
# py32 not supported by tox and pytest
envlist = py27,py34,py35,py36,pypy,docs

[testenv]
commands = pytest --cov-report term-missing --cov=deprecated tests/
deps =
    pytest < 4
    pytest-cov < 3

[testenv:docs]
basepython = python
deps =
    sphinx < 2
    requests[security] < 3
commands =
    sphinx-build -b html -d {envtmpdir}/doctrees docs/source/ {envtmpdir}/html
    sphinx-build -b epub -d {envtmpdir}/doctrees docs/source/ {envtmpdir}/epub


# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py27, py34, py35, py36

[testenv]
deps =

commands =
    python tests/test_pyperclip.py

Declare support for Python 3.9

# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py27, py34, py35, py36, py37, py38, py39

[testenv]
deps =

commands =
    python tests/test_pyperclip.py


[tox]
envlist = py27,py35,pylint

[testenv:pylint]
basepython=python3.5
deps=pylint
commands=pylint -E seq2seq

[testenv]
passenv=CIRCLE_ARTIFACTS
deps=
  nose
  coverage
commands=
  coverage run {envbindir}/nosetests
  coverage report -m
  coverage html -d {env:CIRCLE_ARTIFACTS:/tmp/tox}/{envname}_coverage

[testenv:py35]
deps=
  nose
  coverage
  https://ci.tensorflow.org/view/Nightly/job/nightly-python35-linux-cpu/lastSuccessfulBuild/artifact/pip_test/whl/tensorflow-0.12.1-cp35-cp35m-linux_x86_64.whl

[testenv:py27]
deps=
  nose
  coverage
  https://ci.tensorflow.org/view/Nightly/job/nightly-matrix-cpu/TF_BUILD_IS_OPT=OPT,TF_BUILD_IS_PIP=PIP,TF_BUILD_PYTHON_VERSION=PYTHON2,label=cpu-slave/lastSuccessfulBuild/artifact/pip_test/whl/tensorflow-0.12.1-cp27-none-linux_x86_64.whl

Use tensorflow nightly build for pylint

[tox]
envlist = py27,py35,pylint

[testenv:pylint]
basepython=python3.5
deps=
  https://ci.tensorflow.org/view/Nightly/job/nightly-python35-linux-cpu/lastSuccessfulBuild/artifact/pip_test/whl/tensorflow-0.12.1-cp35-cp35m-linux_x86_64.whl
  pylint
commands=pylint -E seq2seq

[testenv]
passenv=CIRCLE_ARTIFACTS
deps=
  nose
  coverage
commands=
  coverage run {envbindir}/nosetests
  coverage report -m
  coverage html -d {env:CIRCLE_ARTIFACTS:/tmp/tox}/{envname}_coverage

[testenv:py35]
deps=
  nose
  coverage
  https://ci.tensorflow.org/view/Nightly/job/nightly-python35-linux-cpu/lastSuccessfulBuild/artifact/pip_test/whl/tensorflow-0.12.1-cp35-cp35m-linux_x86_64.whl

[testenv:py27]
deps=
  nose
  coverage
  https://ci.tensorflow.org/view/Nightly/job/nightly-matrix-cpu/TF_BUILD_IS_OPT=OPT,TF_BUILD_IS_PIP=PIP,TF_BUILD_PYTHON_VERSION=PYTHON2,label=cpu-slave/lastSuccessfulBuild/artifact/pip_test/whl/tensorflow-0.12.1-cp27-none-linux_x86_64.whl


[tox]
envlist =
  py{27,35,36,37}-ansible{24,25,26,27}
skipsdist = True

[travis:env]
ANSIBLE =
    2.4: ansible24
    2.5: ansible25
    2.6: ansible26
    2.7: ansible27

[testenv]
setenv = ANSIBLE_DEPRECATION_WARNINGS = False
deps =
  pytest
  ansible24: ansible>=2.4,<2.5
  ansible25: ansible>=2.5,<2.6
  ansible26: ansible>=2.6,<2.7
  ansible27: ansible>=2.7dev,<2.8
commands = pytest {posargs}

Update tests for current Ansible and Python versions

[tox]
envlist =
  py{27,35,36,37,38}-ansible{27,28,29}
skipsdist = True

[travis:env]
ANSIBLE =
    2.7: ansible27
    2.8: ansible28
    2.9: ansible29

[testenv]
setenv = ANSIBLE_DEPRECATION_WARNINGS = False
deps =
  pytest
  ansible27: ansible>=2.7,<2.8
  ansible28: ansible>=2.8,<2.9
  ansible29: ansible>=2.9,<2.10
commands = pytest {posargs}


[tox]
envlist = {py34,py35}-{tornado,aiohttp},cleanup

[testenv]
passenv = DISPLAY
whitelist_externals=make
basepython =
  py34: python3.4
  py35: python3.5
  cleanup: python
deps=
  py34-{tornado,aiohttp}: mypy-lang
  {py34,py35}-{tornado,aiohttp}: selenium
  {py34,py35}-{tornado,aiohttp}: nose_parameterized
  {py34,py35}-{tornado,aiohttp}: syncer
  {py34,py35}-{tornado,aiohttp}: green
  {py34,py35}-aiohttp: aiohttp
commands=
  {py34,py35}-{tornado,aiohtt}: python setup.py -q install
  {py34,py35}-{tornado,aiohtt}: make clean
  {py34,py35}-{tornado,aiohttp}: green -i wdom.testing.suppress_logging wdom

[testenv:cleanup]
commands=make clean

[flake8]
exclude=wdom/themes/*,docs/*,tmp/*

Use pip to install in test

[tox]
envlist = {py34,py35}-{tornado,aiohttp},cleanup

[testenv]
passenv = DISPLAY
whitelist_externals = make
basepython =
  py34: python3.4
  py35: python3.5
  cleanup: python
deps=
  py34-{tornado,aiohttp}: mypy-lang
  {py34,py35}-{tornado,aiohttp}: selenium
  {py34,py35}-{tornado,aiohttp}: nose_parameterized
  {py34,py35}-{tornado,aiohttp}: syncer
  {py34,py35}-{tornado,aiohttp}: green
  {py34,py35}-aiohttp: aiohttp
commands=
  {py34,py35}-{tornado,aiohtt}: pip -q install .
  {py34,py35}-{tornado,aiohtt}: make clean
  {py34,py35}-{tornado,aiohttp}: green -i wdom.testing.suppress_logging wdom

[testenv:cleanup]
commands=make clean

[flake8]
exclude=wdom/themes/*,docs/*,tmp/*


[tox]
minversion = 1.8
envlist = py{27}-ansible{22,23}
skipsdist = True

[testenv]
passenv = *
whitelist_externals =
    echo
    pwd
deps =
    -rrequirements.txt
    ansible22: ansible==2.2.2.0
    ansible23: ansible==2.3.0.0
commands =
    molecule test

Add debug option to molecule

[tox]
minversion = 1.8
envlist = py{27}-ansible{22,23}
skipsdist = True

[testenv]
passenv = *
whitelist_externals =
    echo
    pwd
deps =
    -rrequirements.txt
    ansible22: ansible==2.2.2.0
    ansible23: ansible==2.3.0.0
commands =
    molecule --debug test


[tox]
envlist = py26,py27,py33,pep8

[testenv]
setenv = VIRTUAL_ENV={envdir}
         LANG=en_US.UTF-8
         LANGUAGE=en_US:en
         LC_ALL=C
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands =
  python setup.py testr --testr-args='{posargs}'

[tox:jenkins]
sitepackages = True
downloadcache = ~/cache/pip

[testenv:pep8]
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
       hacking
commands = flake8

[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
commands =
  python setup.py testr --coverage

[testenv:venv]
commands = {posargs}

[flake8]
exclude = .venv,.tox,dist,doc,*.egg,build
show-source = true

Stop checking periods in commit messages

[tox]
envlist = py26,py27,py33,pep8

[testenv]
setenv = VIRTUAL_ENV={envdir}
         LANG=en_US.UTF-8
         LANGUAGE=en_US:en
         LC_ALL=C
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands =
  python setup.py testr --testr-args='{posargs}'

[tox:jenkins]
sitepackages = True
downloadcache = ~/cache/pip

[testenv:pep8]
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
       hacking
commands = flake8

[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
commands =
  python setup.py testr --coverage

[testenv:venv]
commands = {posargs}

[flake8]
ignore = H803
exclude = .venv,.tox,dist,doc,*.egg,build
show-source = true


[tox]
envlist = py26,py27,pypy

[testenv]
commands=py.test
deps = pytest

Test with nose, not pytest. Indicate that unittest2 is required for testing Python 2.6.

[tox]
envlist = py26, py27, pypy

[testenv]
deps =
  nose
commands =
  nosetests --exe []

[testenv:py26]
deps =
  nose
  unittest2


[tox]
envlist = py27, py35, style, docs

[testenv]
setenv =
    PYTHONPATH = {toxinidir}
    GINGA_HOME = {toxinidir}
deps =
    py27: -r{toxinidir}/requirements2.txt
    py35: -r{toxinidir}/requirements3.txt
commands =
    get_mission_data
    py.test tests

[testenv:style]
deps =
    flake8
commands =
    flake8 pdsspect

[testenv:docs]
changedir=docs/
setenv =
    GINGA_HOME = {toxinidir}
deps =
    -r{toxinidir}/requirements3.txt
commands =
    sphinx-build -b linkcheck ./ _build/
    sphinx-build -b html ./ _build/

Use python3 for docs testing

[tox]
envlist = py27, py35, style, docs

[testenv]
setenv =
    PYTHONPATH = {toxinidir}
    GINGA_HOME = {toxinidir}
deps =
    py27: -r{toxinidir}/requirements2.txt
    py35: -r{toxinidir}/requirements3.txt
commands =
    get_mission_data
    py.test tests

[testenv:style]
deps =
    flake8
commands =
    flake8 pdsspect

[testenv:docs]
changedir=docs/
basepython = python3.5
setenv =
    PYTHONPATH = {toxinidir}
    GINGA_HOME = {toxinidir}
deps =
    -r{toxinidir}/requirements3.txt
commands =
    sphinx-build -b linkcheck ./ _build/
    sphinx-build -b html ./ _build/


[tox]
envlist=py27sqla103, py33sqla103, py34sqla103, py35sqla103, pypysql10

[testenv]
commands=
    py.test \
        {posargs}

[testenv:py27sqla10]
basepython=python2.7
deps=
    SQLAlchemy==1.0.4
    psycopg2
    -rrequirements.txt

[testenv:py33sqla10]
basepython=python3.3
deps=
    SQLAlchemy==1.0.4
    psycopg2
    -rrequirements.txt

[testenv:py34sqla10]
basepython=python3.4
deps=
    SQLAlchemy==1.0.4
    psycopg2
    -rrequirements.txt

[testenv:py35sqla10]
basepython=python3.5
deps=
    SQLAlchemy==1.0.8
    psycopg2
    -rrequirements.txt

[testenv:pypysqla10]
basepython=pypy
deps=
    SQLAlchemy==1.0.4
    psycopg2cffi
    -rrequirements.txt

Fix pypy env name in envlist

[tox]
envlist=py27sqla103, py33sqla103, py34sqla103, py35sqla103, pypysqla10

[testenv]
commands=
    py.test \
        {posargs}

[testenv:py27sqla10]
basepython=python2.7
deps=
    SQLAlchemy==1.0.4
    psycopg2
    -rrequirements.txt

[testenv:py33sqla10]
basepython=python3.3
deps=
    SQLAlchemy==1.0.4
    psycopg2
    -rrequirements.txt

[testenv:py34sqla10]
basepython=python3.4
deps=
    SQLAlchemy==1.0.4
    psycopg2
    -rrequirements.txt

[testenv:py35sqla10]
basepython=python3.5
deps=
    SQLAlchemy==1.0.8
    psycopg2
    -rrequirements.txt

[testenv:pypysqla10]
basepython=pypy
deps=
    SQLAlchemy==1.0.4
    psycopg2cffi
    -rrequirements.txt


# The string "{meta_key}-V" should be translated to the region-specific
# shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the
# modifier key used in the shortcut (do not translate it): for example, Ctrl-V
# on Windows systems.
# Error Strings
# Onboarding Strings

Update Finnish (fi) localization of Firefox Screenshots

# Clip in this context refers to a portion of an image
# Also used for the title on the toolbar button
# The string "{meta_key}-V" should be translated to the region-specific
# shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the
# modifier key used in the shortcut (do not translate it): for example, Ctrl-V
# on Windows systems.
# Section for error strings
# "Out of order" is an humorous way to indicate that the service is not working
# properly.
# Section for onboarding strings
# Do not translate {termsAndPrivacyNoticeTermsLink} and
# {termsAndPrivacyNoticyPrivacyLink}. They're placeholders replaced by links
# using the corresponding translated strings as text.
# This string is used as the text for a link in termsAndPrivacyNotice
# This string is used as the text for a link in termsAndPrivacyNotice


name    = Parse-Matroska
author  = Kovensky <diogomfranco@gmail.com>
license = FreeBSD
copyright_holder = Diogo Franco
copyright_year   = 2012

[@Basic]
[ModuleBuild]
[DualBuilders]

[MinimumPerl]
[AutoPrereqs]
;[PrereqsClean]
;[CheckPrereqsIndexed]

[MetaProvides::Class]
[MetaProvides::Package]

[PodWeaver]

[Git::NextVersion]
[PkgVersion]
[NextRelease]

[ReportVersions]
[PodCoverageTests]
[PodSyntaxTests]
[NoTabsTests]

[GithubMeta]
issues = 1

[@Git]
[Git::CommitBuild]
release_branch = build/release
release_message = Release %v built from %h (on %b)

[TravisYML]

[Clean]
[Twitter]
hash_tags = #perl #cpan
url_shortener = Akari

Add Pod::Elemental::Transformer::List to develop prereqs

name    = Parse-Matroska
author  = Kovensky <diogomfranco@gmail.com>
license = FreeBSD
copyright_holder = Diogo Franco
copyright_year   = 2012

[@Basic]
[ModuleBuild]
[DualBuilders]

[Prereqs / DevelopRequires]
Pod::Elemental::Transformer::List = 0

[MinimumPerl]
[AutoPrereqs]
;[PrereqsClean]
;[CheckPrereqsIndexed]

[MetaProvides::Class]
[MetaProvides::Package]

[PodWeaver]

[Git::NextVersion]
[PkgVersion]
[NextRelease]

[ReportVersions]
[PodCoverageTests]
[PodSyntaxTests]
[NoTabsTests]

[GithubMeta]
issues = 1

[@Git]
[Git::CommitBuild]
release_branch = build/release
release_message = Release %v built from %h (on %b)

[TravisYML]

[Clean]
[Twitter]
hash_tags = #perl #cpan
url_shortener = Akari


[tox]
envlist = py27, py33, py34, pypy, flake8

[testenv]
passenv = LC_ALL, LANG
commands = py.test --cov=cookiecutter {posargs:tests}
deps = pytest
       pytest-cov
       pytest-mock

[testenv:flake8]
deps =
    flake8==2.3.0
    pep8==1.6.2
commands =
    flake8 cookiecutter

[testenv:cov-report]
commands = py.test --cov=cookiecutter --cov-report=term --cov-report=html

Add tests subdirectory to flake8 testenv

[tox]
envlist = py27, py33, py34, pypy, flake8

[testenv]
passenv = LC_ALL, LANG
commands = py.test --cov=cookiecutter {posargs:tests}
deps = pytest
       pytest-cov
       pytest-mock

[testenv:flake8]
deps =
    flake8==2.3.0
    pep8==1.6.2
commands =
    flake8 cookiecutter tests

[testenv:cov-report]
commands = py.test --cov=cookiecutter --cov-report=term --cov-report=html


[gh-actions]
python =
    3.7: py37
    3.8: py38
    3.9: py39
    3.10: py310

[tox]
envlist =
    flake8,
    py{37,38,39,310}-drf3-django{22,30,31,32}

[testenv]
deps =
    django22: Django>=2.2,<2.3
    django30: Django>=3.0,<3.1
    django31: Django>=3.1,<3.2
    django32: Django>=3.2,<3.3
    drf3: djangorestframework>=3
    -r requirements_dev.txt
commands =
    py.test {posargs} --cov-report=xml --cov

[testenv:flake8]
deps = flake8
commands =
    flake8

Add support for Django 4.0

[gh-actions]
python =
    3.7: py37
    3.8: py38
    3.9: py39
    3.10: py310

[tox]
envlist =
    flake8,
    py{37,38,39,310}-drf3-django{22,30,31,32}
    py{38,39,310}-drf3-django{40}

[testenv]
deps =
    django22: Django>=2.2,<2.3
    django30: Django>=3.0,<3.1
    django31: Django>=3.1,<3.2
    django32: Django>=3.2,<3.3
    django40: Django>=4.0,<4.1
    drf3: djangorestframework>=3
    -r requirements_dev.txt
commands =
    py.test {posargs} --cov-report=xml --cov

[testenv:flake8]
deps = flake8
commands =
    flake8


[tox]
minversion = 1.6
envlist = py26,py27,py33,py34,pep8
skipdist = True

[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args='{posargs}'
whitelist_externals = bash

[testenv:pep8]
commands = flake8

[testenv:functional]
commands = bash -x {toxinidir}/functional/harpoon.sh

[testenv:venv]
commands = {posargs}

[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'

[testenv:debug]
commands = oslo_debug_helper -t openstackclient/tests {posargs}

[tox:jenkins]
downloadcache = ~/cache/pip

[testenv:docs]
commands = python setup.py build_sphinx

[flake8]
show-source = True
exclude =  .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools

Change test order to avoid incompatibliity

[tox]
minversion = 1.6
envlist = py33,py34,py26,py27,pep8
skipdist = True

[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args='{posargs}'
whitelist_externals = bash

[testenv:pep8]
commands = flake8

[testenv:functional]
commands = bash -x {toxinidir}/functional/harpoon.sh

[testenv:venv]
commands = {posargs}

[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'

[testenv:debug]
commands = oslo_debug_helper -t openstackclient/tests {posargs}

[tox:jenkins]
downloadcache = ~/cache/pip

[testenv:docs]
commands = python setup.py build_sphinx

[flake8]
show-source = True
exclude =  .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools


[tox]
envlist = py26,py27,docs

[testenv]
deps=-rrequirements-test.txt
commands=nosetests []

[testenv:docs]
basepython=python
changedir=docs
deps=-rrequirements-docs.txt
commands=
    make clean
    make html

[testenv:py32]
commands=
    2to3 -f all --output-dir={envtmpdir}/build/tests -W -n -d README.rst
    2to3 -f all --output-dir={envtmpdir}/build/tests -W -n src
    2to3 -f all --output-dir={envtmpdir}/build/tests -W -n tests
    nosetests --py3where={envtmpdir}/build/tests []

[testenv:py33]
commands=
    2to3 --output-dir={envtmpdir}/build/tests -W -n -d README.rst
    2to3 --output-dir={envtmpdir}/build/tests -W -n src
    2to3 --output-dir={envtmpdir}/build/tests -W -n tests
    nosetests --py3where={envtmpdir}/build/tests []

Add make command to the whitelist_externals

[tox]
envlist = py26,py27,docs

[testenv]
deps=-rrequirements-test.txt
commands=nosetests []

[testenv:docs]
basepython=python
changedir=docs
deps=-rrequirements-docs.txt
whitelist_externals=
    make
commands=
    make clean
    make html

[testenv:py32]
commands=
    2to3 -f all --output-dir={envtmpdir}/build/tests -W -n -d README.rst
    2to3 -f all --output-dir={envtmpdir}/build/tests -W -n src
    2to3 -f all --output-dir={envtmpdir}/build/tests -W -n tests
    nosetests --py3where={envtmpdir}/build/tests []

[testenv:py33]
commands=
    2to3 --output-dir={envtmpdir}/build/tests -W -n -d README.rst
    2to3 --output-dir={envtmpdir}/build/tests -W -n src
    2to3 --output-dir={envtmpdir}/build/tests -W -n tests
    nosetests --py3where={envtmpdir}/build/tests []


[tox]
envlist = py27,flake8

[testenv]
deps=-rtest_requirements.txt
commands=nosetests {posargs}

[testenv:py27]
basepython = python2.7

[testenv:flake8]
basepython=python
deps=flake8
commands=
    flake8 eactivities tests

[flake8]
max-line-length = 140
ignore =

Speed up tests by adding more concurrency

[tox]
envlist = py27,flake8

[testenv]
deps=-rtest_requirements.txt
commands=nosetests --processes=8 {posargs}

[testenv:py27]
basepython = python2.7

[testenv:flake8]
basepython=python
deps=flake8
commands=
    flake8 eactivities tests

[flake8]
max-line-length = 140
ignore =


[tox]
envlist =
    py{27,36}-codestyle,
    py{27,36}

[testenv]
setenv =
    PYTHONDONTWRITEBYTECODE=1
install_command = pip install --no-deps {opts} {packages}
deps = -rrequirements.txt
commands = pytest -p no:randomly {posargs}

[testenv:py27-codestyle]
# setup.py check broken on travis python 2.7
commands = multilint --skip setup.py

[testenv:py36-codestyle]
commands = multilint

Speed up linting by skipping install

[tox]
envlist =
    py{27,36}-codestyle,
    py{27,36}

[testenv]
setenv =
    PYTHONDONTWRITEBYTECODE=1
install_command = pip install --no-deps {opts} {packages}
deps = -rrequirements.txt
commands = pytest -p no:randomly {posargs}

[testenv:py27-codestyle]
# setup.py check broken on travis python 2.7
skip_install = true
commands = multilint --skip setup.py

[testenv:py36-codestyle]
skip_install = true
commands = multilint


# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = flake8, py27, py36, py37

[flake8]
max-line-length = 100

[testenv]
usedevelop = true
deps = -r{toxinidir}/test-requirements.txt
commands =
    py.test -vv {posargs}

[testenv:flake8]
basepython = python2
skip_install = true
deps = flake8
commands = flake8 --ignore E731 --exclude .tox,.git

Drop support for Python 2

# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = flake8, py36, py37

[flake8]
max-line-length = 100

[testenv]
usedevelop = true
deps = -r{toxinidir}/test-requirements.txt
commands =
    py.test -vv {posargs}

[testenv:flake8]
basepython = python2
skip_install = true
deps = flake8
commands = flake8 --ignore E731 --exclude .tox,.git


[tox]
envlist = py36-dj{20,21,22,30}, py37-dj{20,21,22,30}, py38-dj{20,21,22,30}

[testenv]
deps =
    dj20: Django>=2.0,<2.1
    dj21: Django>=2.1,<2.2
    dj22: Django>=2.2,<2.3
    dj30: Django>=3.0b1
    .[test]
setenv =
    DJANGO_SETTINGS_MODULE=settings
passenv = DATABASE_URL
commands = python setup.py test

Install official Django 3.0 package during tests

[tox]
envlist = py36-dj{20,21,22,30}, py37-dj{20,21,22,30}, py38-dj{20,21,22,30}

[testenv]
deps =
    dj20: Django>=2.0,<2.1
    dj21: Django>=2.1,<2.2
    dj22: Django>=2.2,<2.3
    dj30: Django>=3.0,<3.0.2
    .[test]
setenv =
    DJANGO_SETTINGS_MODULE=settings
passenv = DATABASE_URL
commands = python setup.py test


[tox]
# official list is
#envlist = py27, py33, py34
envlist = python, pylint

[testenv:pylint]
deps =
  logilab-common
  six
  hg+https://bitbucket.org/logilab/astroid
  hg+https://bitbucket.org/logilab/pylint
commands = pylint -rn --rcfile={toxinidir}/pylintrc {envsitepackagesdir}/astroid

[testenv]
deps =
  logilab-common
  six

commands = python -m unittest discover -s {envsitepackagesdir}/astroid/tests -p "unittest*.py"

Revert an unwanted change from the previous commit.

[tox]
# official list is
#envlist = py27, py33, py34
envlist = py27, py33, pylint

[testenv:pylint]
deps =
  logilab-common
  six
  hg+https://bitbucket.org/logilab/astroid
  hg+https://bitbucket.org/logilab/pylint
commands = pylint -rn --rcfile={toxinidir}/pylintrc {envsitepackagesdir}/astroid

[testenv]
deps =
  logilab-common
  six

commands = python -m unittest discover -s {envsitepackagesdir}/astroid/tests -p "unittest*.py"


[tox]
envlist = py27, docs

[pytest]
DJANGO_SETTINGS_MODULE=config.settings
django_find_project = false

[flake8]
max-complexity = 11
exclude = migrations,docs,data_bootstrap,dist,build,.git

[testenv]
deps = -rrequirements.txt
commands =
    flake8 .
    coverage erase
    coverage run -m py.test --ds=config.settings
    coverage report --fail-under=100
    coverage html
sitepackages = False

[testenv:docs]
deps = -rrequirements-docs.txt
changedir = {toxinidir}/docs
commands =
    sphinx-build -W -b html -d _build/doctrees . _build/html
sitepackages = False

Increase complexity level to 12

[tox]
envlist = py27, docs

[pytest]
DJANGO_SETTINGS_MODULE=config.settings
django_find_project = false

[flake8]
max-complexity = 12
exclude = migrations,docs,data_bootstrap,dist,build,.git

[testenv]
deps = -rrequirements.txt
commands =
    flake8 .
    coverage erase
    coverage run -m py.test --ds=config.settings
    coverage report --fail-under=100
    coverage html
sitepackages = False

[testenv:docs]
deps = -rrequirements-docs.txt
changedir = {toxinidir}/docs
commands =
    sphinx-build -W -b html -d _build/doctrees . _build/html
sitepackages = False


# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = django11,django12,django13,django14

[base]
deps =
    mock==1.0.1
    boto==2.7.0

[testenv]
commands=python setup.py test

[testenv:django11]
deps=
    django==1.1.4
    {[base]deps}

[testenv:django12]
deps=
    django==1.2.7
    {[base]deps}

[testenv:django13]
deps=
    django==1.3.5
    {[base]deps}

[testenv:django14]
deps=
    django==1.4.3
    {[base]deps}

Test dev versions of boto and Django

# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = dev,django11,django12,django13,django14

[base]
deps =
    mock==1.0.1
    boto==2.7.0

[testenv]
commands=python setup.py test

[testenv:dev]
deps=
    mock==1.0.1
    -egit://github.com/boto/boto.git@develop#egg=boto
    -egit://github.com/django/django.git#egg=django

[testenv:django11]
deps=
    django==1.1.4
    {[base]deps}

[testenv:django12]
deps=
    django==1.2.7
    {[base]deps}

[testenv:django13]
deps=
    django==1.3.5
    {[base]deps}

[testenv:django14]
deps=
    django==1.4.3
    {[base]deps}


[tox]
envlist = py{27,35}-py2neo{16,2}, pypy-py2neo2, lint, docs

[testenv]
passenv = NEO4J_URI
setenv =
    PY2NEO_COMPAT = {env:PY2NEO_COMPAT:-e../python-py2neo_compat}
deps =
    .[test]
    {env:PY2NEO_COMPAT}
    py2neo16: py2neo ~= 1.6.4
    py2neo2: py2neo ~= 2.0.8
commands =
    py.test --basetemp={envtmpdir} {posargs}

[testenv:lint]
ignore_outcome = True
skip_install = True
deps =
    .[lint]
commands =
    python setup.py flake8

[testenv:docs]
skip_install = True
changedir=docs/
deps =
    -r{toxinidir}/requirements.txt
    sphinx
    setuptools_scm
commands =
    sphinx-build -b linkcheck ./ _build/
    sphinx-build -b html ./ _build/

Use Tox's 'extras' to install

[tox]
envlist = py{27,35}-py2neo{16,2}, pypy-py2neo2, lint, docs

[testenv]
passenv = NEO4J_URI
setenv =
    PY2NEO_COMPAT = {env:PY2NEO_COMPAT:-e../python-py2neo_compat}
extras = test
deps =
    {env:PY2NEO_COMPAT}
    py2neo16: py2neo ~= 1.6.4
    py2neo2: py2neo ~= 2.0.8
commands =
    py.test --basetemp={envtmpdir} {posargs}

[testenv:lint]
ignore_outcome = True
skip_install = True
deps =
    .[lint]
commands =
    python setup.py flake8

[testenv:docs]
skip_install = True
changedir=docs/
deps =
    -r{toxinidir}/requirements.txt
    sphinx
    setuptools_scm
commands =
    sphinx-build -b linkcheck ./ _build/
    sphinx-build -b html ./ _build/


[tox]
envlist =
    py3
    flake8

[testenv]
commands =
    coverage run --source pyecore -m pytest -v
    coverage report -m
deps =
    coverage
    pytest

[testenv:flake8]
commands =
    flake8 pyecore setup.py
deps =
    flake8

Add log of stdout for tests

[tox]
envlist =
    py3
    flake8

[testenv]
commands =
    coverage run --source pyecore -m pytest -v --capture=sys
    coverage report -m
deps =
    coverage
    pytest

[testenv:flake8]
commands =
    flake8 pyecore setup.py
deps =
    flake8


[tox]
envlist =
    py{27,33,34}-django{18},
    py{27,34,35}-django19

[testenv]
basepython =
    py27: python2.7
    py33: python3.3
    py34: python3.4
    py35: python3.5
setenv =
    PYTHONPATH = {toxinidir}:{toxinidir}/json_patch
commands = python runtests.py
deps =
    django18: Django>=1.8,<1.9
    django19: Django>=1.9,<1.10

[testenv:coverage]
commands =
    coverage run --source json_patch runtests.py
    coveralls
deps =
    coverage
    coveralls
    {[testenv]deps}

Set python interpreter for coverage

[tox]
envlist =
    py{27,33,34}-django{18},
    py{27,34,35}-django19

[testenv]
basepython =
    py27: python2.7
    py33: python3.3
    py34: python3.4
    py35: python3.5
setenv =
    PYTHONPATH = {toxinidir}:{toxinidir}/json_patch
commands = python runtests.py
deps =
    django18: Django>=1.8,<1.9
    django19: Django>=1.9,<1.10

[testenv:coverage]
basepython =
    python3.4
setenv =
    PYTHONPATH = {toxinidir}:{toxinidir}/json_patch
commands =
    coverage run --source json_patch runtests.py
    coveralls
deps =
    coverage
    coveralls
    Django>=1.9,<1.10


[tox]
envlist = py26,py27,pypy,pypy3,py33,py34,py35,py36,py37,lint

[testenv:py26]
setenv = PIP_INSECURE=1
deps = unittest2

[testenv]
commands = pip install -e .
           pip install -r requirements-dev.txt
           python setup.py test

[testenv:lint]
basepython = python2.7
deps = flake8
commands = flake8 tests/
           flake8 yubico_client/
           flake8 demo/

Drop support for old and deprecated Python 2.6.

[tox]
envlist = py27,pypy,pypy3,py33,py34,py35,py36,py37,lint

[testenv:py26]
setenv = PIP_INSECURE=1
deps = unittest2

[testenv]
commands = pip install -e .
           pip install -r requirements-dev.txt
           python setup.py test

[testenv:lint]
basepython = python2.7
deps = flake8
commands = flake8 tests/
           flake8 yubico_client/
           flake8 demo/


# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py26, py27, py32, py33

[testenv]
setenv =
    TIMEZONE=UTC
    TZ=UTC
commands = nosetests -s tests
deps =
    nose
    coverage

Add pypy to fox tests

# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py26, py27, py31, py32, pypy

[testenv]
setenv =
    TIMEZONE=UTC
    TZ=UTC
commands = nosetests -s tests
deps =
    nose
    coverage


[tox]
envlist =
    py{26}-dj{15,16},
    py27-dj{15,16,17,18},
    py{32,33,34}-dj{15,16,17,18}
downloadcache = .tox/_download/

[testenv]
basepython =
    py26: python2.6
    py27: python2.7
    py32: python3.2
    py33: python3.3
    py34: python3.4
commands:
    make test
deps =
    coverage
    exam
    redis
    six
    celery
    nydus
    {py26,py27,py32,py33,py34}-dj15: Django>=1.5,<1.6
    {py26,py27,py32,py33,py34}-dj15: django-discover-runner
    {py26,py27,py32,py33,py34}-dj16: Django>=1.6,<1.7
    {py27,py33,py32,py34}-dj17: Django>=1.7,<1.8
    {py27,py33,py34}-dj18: Django>=1.8,<1.9

Remove support for Python 3.2

[tox]
envlist =
    py{26}-dj{15,16},
    py27-dj{15,16,17,18},
    py{33,34}-dj{15,16,17,18}
downloadcache = .tox/_download/

[testenv]
basepython =
    py26: python2.6
    py27: python2.7
    py33: python3.3
    py34: python3.4
commands:
    make test
deps =
    coverage
    exam
    redis
    six
    celery
    nydus
    {py26,py27,py33,py34}-dj15: Django>=1.5,<1.6
    {py26,py27,py33,py34}-dj15: django-discover-runner
    {py26,py27,py33,py34}-dj16: Django>=1.6,<1.7
    {py27,py33,py34}-dj17: Django>=1.7,<1.8
    {py27,py33,py34}-dj18: Django>=1.8,<1.9


[tox]
envlist = py{27,35,36,37,38,39,py,py3},flake8,docs
skip_missing_interpreters = true

[testenv]
deps = nose
       coverage
commands = nosetests
setenv=
    PYTHONWARNINGS=all

[testenv:flake8]
skip_install = true
deps = flake8
       flake8-author
       flake8-blind-except
       py{35,36,37,38}: flake8-bugbear
       flake8-class-newline
       flake8-commas
       flake8-deprecated
       flake8-docstrings
       flake8-exact-pin
       flake8-isort
       flake8-print
       flake8-quotes
       flake8-tidy-imports
       flake8-tuple
       pep8-naming
commands = flake8 stdnum tests update setup.py

[testenv:docs]
deps = Sphinx
commands = sphinx-build -N -b html docs {envtmpdir}/sphinx -W

Support running tests with Python 2.7

[tox]
envlist = py{27,35,36,37,38,39,py,py3},flake8,docs
skip_missing_interpreters = true

[testenv]
deps = nose
       coverage
commands = nosetests
setenv=
    PYTHONWARNINGS=all
    py27: VIRTUALENV_SETUPTOOLS=43.0.0
    py27: VIRTUALENV_PIP=19.3.1

[testenv:flake8]
skip_install = true
deps = flake8
       flake8-author
       flake8-blind-except
       py{35,36,37,38}: flake8-bugbear
       flake8-class-newline
       flake8-commas
       flake8-deprecated
       flake8-docstrings
       flake8-exact-pin
       flake8-isort
       flake8-print
       flake8-quotes
       flake8-tidy-imports
       flake8-tuple
       pep8-naming
commands = flake8 stdnum tests update setup.py

[testenv:docs]
deps = Sphinx
commands = sphinx-build -N -b html docs {envtmpdir}/sphinx -W


# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py35,py27,pypy

[testenv]
commands = py.test tests.py
deps =
    pytest

Update to test with python3.8 rather than 3.5

# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py38,py27,pypy
sitepackages = True

[testenv]
commands = python -m pytest tests.py
deps= pytest


[tox]
minversion = 1.6
envlist = py34,py27,pypy,pep8
skipsdist = True

[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
   VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py test --slowest --testr-args='{posargs}'

[testenv:pep8]
commands = flake8

[testenv:venv]
commands = {posargs}

[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'

[testenv:docs]
commands = python setup.py build_sphinx

[testenv:debug]
commands = oslo_debug_helper {posargs}

[flake8]
# E123, E125 skipped as they are invalid PEP-8.

show-source = True
ignore = E123,E125
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build

Enable DeprecationWarning in test environments

[tox]
minversion = 1.6
envlist = py34,py27,pypy,pep8
skipsdist = True

[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
   VIRTUAL_ENV={envdir}
   PYTHONWARNINGS=default::DeprecationWarning
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py test --slowest --testr-args='{posargs}'

[testenv:pep8]
commands = flake8

[testenv:venv]
commands = {posargs}

[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'

[testenv:docs]
commands = python setup.py build_sphinx

[testenv:debug]
commands = oslo_debug_helper {posargs}

[flake8]
# E123, E125 skipped as they are invalid PEP-8.

show-source = True
ignore = E123,E125
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build


[tox]
envlist = py{27,35}-{chrome,edge,firefox,ie,phantomjs,remote,safari}

[testenv]
passenv = DISPLAY PYTEST_ADDOPTS
commands =
  py{27,35}-chrome: py.test -rxs -n=auto --driver=Chrome {posargs}
  py{27,35}-edge: py.test -rxs --driver=Edge {posargs}
  py{27,35}-firefox: py.test -rxs -n=auto --driver=Firefox {posargs}
  py{27,35}-ie: py.test -rxs --driver=Ie {posargs}
  py{27,35}-marionette: py.test -rxs -n=auto --driver=Marionette {posargs}
  py{27,35}-phantomjs: py.test -rxs -n=auto --driver=PhantomJS {posargs}
  py{27,35}-remote: py.test -rxs --driver=Remote {posargs}
  py{27,35}-safari: py.test -rxs --driver=Safari {posargs}
deps =
  pytest==3.0.3
  pytest-instafail==0.3.0
  py{27,35}-phantomjs: psutil==4.3.1
  py{27,35}-{chrome,firefox,marionette,phantomjs}: pytest-xdist==1.15

Revert "Output xfails and xpasses when running tests"

[tox]
envlist = py{27,35}-{chrome,edge,firefox,ie,phantomjs,remote,safari}

[testenv]
passenv = DISPLAY PYTEST_ADDOPTS
commands =
  py{27,35}-chrome: py.test -n=auto --driver=Chrome {posargs}
  py{27,35}-edge: py.test --driver=Edge {posargs}
  py{27,35}-firefox: py.test -n=auto --driver=Firefox {posargs}
  py{27,35}-ie: py.test --driver=Ie {posargs}
  py{27,35}-marionette: py.test -n=auto --driver=Marionette {posargs}
  py{27,35}-phantomjs: py.test -n=auto --driver=PhantomJS {posargs}
  py{27,35}-remote: py.test --driver=Remote {posargs}
  py{27,35}-safari: py.test --driver=Safari {posargs}
deps =
  pytest==3.0.3
  pytest-instafail==0.3.0
  py{27,35}-phantomjs: psutil==4.3.1
  py{27,35}-{chrome,firefox,marionette,phantomjs}: pytest-xdist==1.15


[tox]
envlist = test

[testenv]
# Consolidate all deps here instead of cleanly/separately in test/style/cover so we
# have a single env to work with, which makes debugging easier (like which env?).
# Not as clean but easier to work with during development, which is better.
# -rrequirements.txt is to allow local package paths to work.
deps =
    -rrequirements.txt
    flake8
    mock
    pytest
    pytest-xdist
    pytest-cov
    sphinx!=1.2b2
install_command =
    pip install -U {packages}
recreate = False
skipsdist = True
usedevelop = True
setenv =
    PIP_PROCESS_DEPENDENCY_LINKS=1
    PIP_DEFAULT_TIMEOUT=60
    ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future
basepython = python3
envdir = {toxworkdir}/jenkins-test

[testenv:test]
commands =
    py.test {env:PYTESTARGS:} test

[testenv:style]
commands =
    flake8 --config tox.ini

[testenv:cover]
commands =
    py.test {env:PYTESTARGS:} --cov . --cov-report=xml --cov-report=html --cov-report=term test

[flake8]
exclude = .git,.tox,__pycache__,docs,build,dist
ignore = E111,E121,W292,E123,E226
max-line-length = 160

[pytest]
addopts = -n 4

Comment out parallel and ignore .eggs

[tox]
envlist = test

[testenv]
# Consolidate all deps here instead of cleanly/separately in test/style/cover so we
# have a single env to work with, which makes debugging easier (like which env?).
# Not as clean but easier to work with during development, which is better.
# -rrequirements.txt is to allow local package paths to work.
deps =
    -rrequirements.txt
    flake8
    mock
    pytest
    pytest-xdist
    pytest-cov
    sphinx!=1.2b2
install_command =
    pip install -U {packages}
recreate = False
skipsdist = True
usedevelop = True
setenv =
    PIP_PROCESS_DEPENDENCY_LINKS=1
    PIP_DEFAULT_TIMEOUT=60
    ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future
basepython = python3
envdir = {toxworkdir}/ci-test

[testenv:test]
commands =
    py.test {env:PYTESTARGS:} test

[testenv:style]
commands =
    flake8 --config tox.ini

[testenv:cover]
commands =
    py.test {env:PYTESTARGS:} --cov . --cov-report=xml --cov-report=html --cov-report=term test

[flake8]
exclude = .git,.tox,__pycache__,docs,build,dist,.eggs
ignore = E111,E121,W292,E123,E226
max-line-length = 160

#[pytest]
#addopts = -n 4


[tox]
envlist = py{27,36}-lint,lint-long-description,planemo

[travis]
python =
  2.7: py27, planemo
  3.6: py36, rst-lint

[testenv]
deps =
  -rrequirements_dev.txt
  -rrequirements.txt
commands =
  py.test -v --flake8 --doctest-modules --cov=readtagger \
        {posargs} # substitute with tox' positional arguments

[testenv:lint-long-description]
skip_install = True
commands =
   python setup.py check -r -s  # Need to extend this if I move documentation

[testenv:planemo]
commands=
    planemo lint --skip 'citations' galaxy
    planemo test --no_conda_auto_install --no_conda_auto_init galaxy

Use `planemo conda_install --conda_use_local` to test the newly build conda package

[tox]
envlist = py{27,36}-lint,lint-long-description,planemo

[travis]
python =
  2.7: py27, planemo
  3.6: py36, rst-lint

[testenv]
deps =
  -rrequirements_dev.txt
  -rrequirements.txt
commands =
  py.test -v --flake8 --doctest-modules --cov=readtagger \
        {posargs} # substitute with tox' positional arguments

[testenv:lint-long-description]
skip_install = True
commands =
   python setup.py check -r -s  # Need to extend this if I move documentation

[testenv:planemo]
commands=
    planemo lint --skip 'citations' galaxy
    planemo conda_install --conda_use_local galaxy
    planemo test galaxy


[tox]
envlist =
    py27,py35,py36,py37,py38,py39,
    flake

[testenv]
deps=pytest
commands=pytest

[testenv:flake8]
basepython=python
extras=lint
deps=flake8
commands=flake8 {toxinidir}

Remove extras setting from flake8 env

[tox]
envlist =
    py27,py35,py36,py37,py38,py39,
    flake

[testenv]
deps=pytest
commands=pytest

[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 {toxinidir}


[tox]
downloadcache = {toxworkdir}/_download/
envlist = docs

[testenv:docs]
commands =
    /usr/bin/lessc caktus_theme/theme/caktus/static/caktus.less caktus_theme/theme/caktus/static/caktus.css
    {envbindir}/sphinx-build -a -n -b html -d docs/_build/doctrees docs docs/_build/html

Break out less compilation into its own step.

[tox]
downloadcache = {toxworkdir}/_download/
envlist = less,docs

[testenv:less]
commands = /usr/bin/lessc caktus_theme/theme/caktus/static/caktus.less caktus_theme/theme/caktus/static/caktus.css

[testenv:docs]
commands = {envbindir}/sphinx-build -a -n -b html -d docs/_build/doctrees docs docs/_build/html


[tox]
envlist = py27,pypy,py34,py35,py36,clean

[testenv]
whitelist_externals = rm
changedir = {toxworkdir}
deps =
  -rrequirements/test.txt
basepython =
  py27: python2.7
  pypy: pypy
  py34: python3.4
  py35: python3.5
  py36: python3.6
commands =
  pip install -q -e {toxinidir}
  coverage erase
  flake8 m2r.py tests
  coverage run -m unittest discover {toxinidir}/tests
  rm -rf {toxinidir}/testdoc/_build/html
  coverage run -a -m sphinx -b html -d {toxinidir}/testdoc/_build/toctree -E -W -q {toxinidir}/testdoc {toxinidir}/testdoc/_build/html
  rm -rf {toxinidir}/testdoc/_build/html
  coverage report --include "*m2r.py,*m2r/tests*"

[testenv:clean]
whitelist_externals = make
basepython = python
changedir = {toxinidir}
commands =
  make clean

Exclude docs dir on flake8

[tox]
envlist = py27,pypy,py34,py35,py36,clean

[testenv]
whitelist_externals = rm
changedir = {toxworkdir}
deps =
  -rrequirements/test.txt
basepython =
  py27: python2.7
  pypy: pypy
  py34: python3.4
  py35: python3.5
  py36: python3.6
commands =
  pip install -q -e {toxinidir}
  coverage erase
  flake8 m2r.py tests
  coverage run -m unittest discover {toxinidir}/tests
  rm -rf {toxinidir}/testdoc/_build/html
  coverage run -a -m sphinx -b html -d {toxinidir}/testdoc/_build/toctree -E -W -q {toxinidir}/testdoc {toxinidir}/testdoc/_build/html
  rm -rf {toxinidir}/testdoc/_build/html
  coverage report --include "*m2r.py,*m2r/tests*"

[flake8]
exclude = docs/*,testdoc/*,.git,__pycache__,.tox,.eggs,*.egg

[testenv:clean]
whitelist_externals = make
basepython = python
changedir = {toxinidir}
commands =
  make clean


[tox]
envlist = py33-{1.7.X,1.6.X,1.5.X},py27-{1.7.X,1.6.X,1.5.X,1.4.X},py26-{1.6.X,1.5.X,1.4.X},docs,flake8

[testenv]
commands=python setup.py test
basepython =
    py26: python2.6
    py27: python2.7
    py33: python3.3
deps =
    1.7.X: Django>=1.7,<1.8
    1.6.X: Django>=1.6,<1.7
    1.5.X: Django>=1.5,<1.6
    1.4.X: Django>=1.4,<1.5
    py26: argparse

[testenv:docs]
basepython=python
changedir=docs
deps=sphinx
commands=
    sphinx-build -W -b html -d {envtmpdir}/doctrees .  {envtmpdir}/html

[testenv:flake8]
basepython=python
deps=flake8
commands=
    flake8 djohno

Add tests for Django 1.8

[tox]
envlist = py33-{1.8.X,1.7.X,1.6.X,1.5.X},py27-{1.8.X,1.7.X,1.6.X,1.5.X,1.4.X},py26-{1.6.X,1.5.X,1.4.X},docs,flake8

[testenv]
commands=python setup.py test
basepython =
    py26: python2.6
    py27: python2.7
    py33: python3.3
deps =
    1.8.X: Django>=1.8,<1.9
    1.7.X: Django>=1.7,<1.8
    1.6.X: Django>=1.6,<1.7
    1.5.X: Django>=1.5,<1.6
    1.4.X: Django>=1.4,<1.5
    py26: argparse

[testenv:docs]
basepython=python
changedir=docs
deps=sphinx
commands=
    sphinx-build -W -b html -d {envtmpdir}/doctrees .  {envtmpdir}/html

[testenv:flake8]
basepython=python
deps=flake8
commands=
    flake8 djohno


[tox]
envlist = py27,py34
[testenv]
commands=python setup.py test

Add pytest timeout and set norecursedirs

[tox]
envlist = py27,py34
[testenv]
commands=python setup.py test
[pytest]
timeout = 10
norecursedirs = .* lib bin


[tox]
envlist = py33
          py34
          py35
[testenv]
deps = coverage
       pep8
       pylint
       pytest
commands = coverage run --source=backlog -m pytest
           coverage report -m
           backlog --help
           pep8 backlog setup.py
           pylint backlog setup.py

Use pycodestyle instead of pep8

[tox]
envlist = py33
          py34
          py35
[testenv]
deps = coverage
       pycodestyle
       pylint
       pytest
commands = coverage run --source=backlog -m pytest
           coverage report -m
           backlog --help
           pycodestyle backlog setup.py
           pylint backlog setup.py


[tox]
envlist = {pep8,cdh,hdp,nonhdfs}
skipsdist = True

[testenv]
usedevelop = True
deps=
  -r{toxinidir}/test/requirements.txt
  py26: unittest2
  coverage>=3.6,<3.999
  coveralls
setenv =
  cdh: HADOOP_DISTRO=cdh
  cdh: HADOOP_HOME=/tmp/hadoop-cdh
  hdp: HADOOP_DISTRO=hdp
  hdp: HADOOP_HOME=/tmp/hadoop-hdp
  cdh,hdp: NOSE_ATTR=minicluster
  nonhdfs: NOSE_ATTR=!minicluster
  LUIGI_CONFIG_PATH={toxinidir}/test/testconfig/client.cfg
commands =
  cdh,hdp: {toxinidir}/scripts/ci/setup_hadoop_env.sh
  coverage run test/runtests.py -v {posargs:}
  coveralls

[testenv:pep8]
deps = pep8
commands = pep8 --ignore E501 luigi test examples bin

[testenv:autopep8]
deps = autopep8
commands = autopep8 --ignore E309,E501 -a -i -r luigi test examples bin

[testenv:docs]
# to call this use `tox -e docs -- html`
deps =
  sqlalchemy
  Sphinx
  sphinx_rtd_theme
changedir = doc
commands = /usr/bin/make {posargs}

Use sphinx-build as it is more Windows friendly.

[tox]
envlist = {pep8,cdh,hdp,nonhdfs}
skipsdist = True

[testenv]
usedevelop = True
deps=
  -r{toxinidir}/test/requirements.txt
  py26: unittest2
  coverage>=3.6,<3.999
  coveralls
setenv =
  cdh: HADOOP_DISTRO=cdh
  cdh: HADOOP_HOME=/tmp/hadoop-cdh
  hdp: HADOOP_DISTRO=hdp
  hdp: HADOOP_HOME=/tmp/hadoop-hdp
  cdh,hdp: NOSE_ATTR=minicluster
  nonhdfs: NOSE_ATTR=!minicluster
  LUIGI_CONFIG_PATH={toxinidir}/test/testconfig/client.cfg
commands =
  cdh,hdp: {toxinidir}/scripts/ci/setup_hadoop_env.sh
  coverage run test/runtests.py -v {posargs:}
  coveralls

[testenv:pep8]
deps = pep8
commands = pep8 --ignore E501 luigi test examples bin

[testenv:autopep8]
deps = autopep8
commands = autopep8 --ignore E309,E501 -a -i -r luigi test examples bin

[testenv:docs]
deps =
  sqlalchemy
  Sphinx
  sphinx_rtd_theme
commands = sphinx-build -b html -d {envtmpdir}/doctrees doc doc/_build/html