semvec/pypi-packages huggingface dataset:
lp-lint-doctest 0.5
Style checker for Launchpad doctests.
License: MIT
Requires Python: >=3

`lp-lint-doctest <https://git.launchpad.net/lp-lint-doctest>`_ is a style
checker for `Python doctests
<https://docs.python.org/3/library/doctest.html>`_ stored in text files (as
opposed to doctests stored in docstrings), optimized for use in `Launchpad
development <https://dev.launchpad.net/>`_.  It applies the following
checks:

 * Comments should be in the narrative part of the doctest (i.e. in
   unindented text) rather than in Python examples.
 * Narrative text lines are limited to 79 characters.
 * Source lines in examples (beginning with ``>>>`` or ``...``) are limited
   to 71 characters.
 * Expected output lines in examples are limited to 75 characters.
 * Source and expected output lines should be indented by exactly four
   spaces.
 * There should be no trailing whitespace.
 * reStructuredText-style headings should be used, not MoinMoin-style.

A ``# noqa`` comment in any source line in an example suppresses the
comment, line length, indentation, and trailing whitespace checks for all
lines in that example.

In addition, ``lp-lint-doctest`` runs `pyflakes
<https://pypi.org/project/pyflakes/>`_ on the accumulated source code of
each doctest file.

This project was split out from Curtis Hovey's `pocket-lint
<https://launchpad.net/pocket-lint>`_ project.  Since that was written, many
other excellent linters have arisen for most of the other source types
supported by ``pocket-lint``, but there seems to be no other viable
replacement for its doctest checks.

``lp-lint-doctest`` supports `pre-commit <https://pre-commit.com/>`_.  To
use it, add the following to the ``repos`` section of your
``.pre-commit-config.yaml`` file::

    -   repo: https://git.launchpad.net/lp-lint-doctest
        rev: ''  # pick a git tag to point to
        hooks:
        -   id: lp-lint-doctest

If you need to add a custom doctest option flag, then add ``args:
[--allow-option-flag, MY_CUSTOM_FLAG_NAME]``.

========================
NEWS for lp-lint-doctest
========================

0.5 (2022-09-09)
================

  - Bump line length limit to 79 characters, which better matches
    Launchpad's ``black`` configuration.

0.4 (2021-10-27)
================

  - Run on ``types: [rst]`` by default.  This is a better default for use
    with repositories other than Launchpad itself (which can override this).
  - Declare support for Python 3.10.

0.3 (2021-07-27)
================

  - Allow ``# noqa`` comments to suppress comment checks as well.

0.2 (2021-07-25)
================

  - Add ``--allow-option-flag`` command-line option to register custom
    ``doctest`` option flags.
  - Allow comments in source lines in examples if they contain ``doctest``
    directives.
  - Allow suppressing checks for an example by adding a ``# noqa`` comment
    to any of its source lines.

0.1 (2021-07-24)
================

  - Initial release, split out from pocket-lint.
brewt 1.2.0
a brewing tool for CivMC/CivCraft
License: MIT
Requires Python: >=3.8
Keywords: civcraft,civmc

# omokami's brew tool

### a cute little cli tool for organizing and timing your brews!

#### this program:

- keeps track of all of your known brew recipes in a yaml file (my known brews provided)
- lets your quickly reference them within the program using a fuzzy search
- has a clean little cli with cute recipe cards
- creates concurrent timers using your notification system!
- has two modes: constant & interval
- has time drift protection for accurate timekeeping
- can play custom sounds on brew completion
- can take an argument if you want your config files somewhere specific
- is pretty cute!
- has currently only been tested on endeavourOS running i3wm. (lmk if it works on your system!)

#### who is this for?

CivMC brewers but any brew mod users can use the basic template.  
the default provided yaml file just won't apply to you.

#### install

you can grab the package off of github and do it the manual way.  
or, for your convenience, the most stable current version is on pip  
`pip install brewt`

#### usage

simply run the main files with an optional '-p' flag to specify a custom config path  
use the slash commands in the prompt to control the program  
every timer you start has a unique code attached to it   
this can be used to disambiguate batches you may have running at the same time   
it can also be used to kill specific timers using the "/k" command  

there are two timer modes because some notification systems will not update in place. they seem to ignore the "id" tag being passed in the notification, so the "constant" timer which ticks down every second will unfortunately flood users who have a notification system like this. if this happens to you, you will need to use the "interval" timer mode or see if you can tweak your notification systems configuration to be less janky.

#### planned features

- ~~slash commands to:~~ **done!**
    - ~~kill specific timers,~~ **done!**
    - ~~pretty print all recipe cards,~~ **done!**
    - ~~quit the program (currently ctrl+c)~~ **done!**
- ~~config file to:~~ **done!**
    - ~~turn on/off persistent notifications (only get a notif @ x time)~~ **done!**
    - ~~custom sounds~~ **done!**
- ~~allow custom brewfile location (currently ~/.config/brewt/brews.yaml)~~  **done!**
- set different sounds at different intervals
- custom countdown value

#### contact

in game as omokami (ma suno & UTSS) or on the purple at okamime#9484  
you're welcome to send me feature requests, bugs you run into,  or simply berate me for my poor choices!  
also if you found this useful, feel free to send me recipes or hints!

#### appearance

**warning, screenshots are from previous version of the program**
[screenshots for your convenience.](https://imgur.com/a/AiGQmxc)  
color scheme and font will depend on your terminal configuration.