File: dodo.py

package info (click to toggle)
python-m2r 0.2.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 340 kB
  • sloc: python: 1,431; makefile: 287; sh: 1
file content (27 lines) | stat: -rw-r--r-- 448 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

"""Doit task definitions."""

DOIT_CONFIG = {
    'default_tasks': [
        'flake8',
        'docs',
    ],
    'continue': True,
    'verbosity': 1,
    'num_process': 2,
    'par_type': 'thread',
}


def task_flake8():
    return {
        'actions': ['flake8 m2r tests'],
    }


def task_docs():
    return {
        'actions': ['sphinx-build -q -W -E -n -b html docs docs/_build/html'],
    }