Skip to content

Commit

Permalink
build: copier auto-update
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKing committed Jun 19, 2024
1 parent c8e49ae commit e8587ab
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Answer file maintained by Copier for: https://github.com/KyleKing/mdformat-plugin-template
# DO NOT MODIFY THIS FILE. Edit by re-running copier and changing responses to the questions
# Check into version control.
_commit: 0.1.4
_commit: 0.1.6
_src_path: gh:KyleKing/mdformat-plugin-template
author_email: dev.act.kyle@gmail.com
author_name: Kyle King
Expand Down
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Development

## API Documentation

A collection of useful resources to reference when developing new features:

- [`markdown-it-py` documentation](https://markdown-it-py.readthedocs.io/en/latest/using.html)
- [`markdown-it` (JS) documentation](https://markdown-it.github.io/markdown-it)

## Local Development

This package utilizes [flit](https://flit.readthedocs.io) as the build engine, and [tox](https://tox.readthedocs.io) for test automation.

To install these development dependencies:
Expand Down
14 changes: 14 additions & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"""Ignore beartype warnings from tests."""

from contextlib import suppress

with suppress(ImportError): # Only suppress beartype warnings when installed
from warnings import filterwarnings

from beartype.roar import (
BeartypeClawDecorWarning, # Too many False Positives using NamedTuples
BeartypeDecorHintPep585DeprecationWarning,
)

filterwarnings("ignore", category=BeartypeClawDecorWarning)
filterwarnings("ignore", category=BeartypeDecorHintPep585DeprecationWarning)

0 comments on commit e8587ab

Please sign in to comment.