File: CONTRIBUTING.md

package info (click to toggle)
debmutate 0.80
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 588 kB
  • sloc: python: 8,346; makefile: 12; sh: 1
file content (44 lines) | stat: -rw-r--r-- 677 bytes parent folder | download
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Contributing
============

Philosophy
----------

Debmutate is a package that provides a set of convenience infrastructure for
manipulating Debian packages.

Plain parsers/formatters should generally be upstreamed into python-debian.

Coding Style
------------

lintian-brush uses PEP8 as its coding style.

Code style can be checked by running ``ruff``:

```shell
ruff check debmutate tests
```

To format the code, run ruff format:

```shell
ruff format debmutate tests
```

Tests
-----

To run the testsuite, use:

```shell
python3 -m unittest debmutate.tests.test_suite
```

or simply:

```shell
make check
```

The tests are also run by the package build and autopkgtest.