Skip to content

Commit

Permalink
Added code, tests and docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Jan 25, 2021
1 parent 7573b7d commit 4617d27
Show file tree
Hide file tree
Showing 76 changed files with 2,974 additions and 5 deletions.
9 changes: 9 additions & 0 deletions .isort.cfg
Expand Up @@ -13,14 +13,23 @@ use_parentheses = True
remove_redundant_aliases = True
default_section = THIRDPARTY
known_third_party =
asttokens
attr_utils
attrs
click
coincidence
consolekit
coverage
coverage_pyver_pragma
domdf_python_tools
github
isort
pytest
pytest_cov
pytest_randomly
pytest_timeout
requests
toml
typing_extensions
yapf
known_first_party = formate
9 changes: 9 additions & 0 deletions demo.py
@@ -0,0 +1,9 @@
class F:
# stdlib
from collections import Counter, Iterable

def foo(self):
pass


print("hello world")
6 changes: 6 additions & 0 deletions doc-source/api/classes.rst
@@ -0,0 +1,6 @@
========================
:mod:`formate.classes`
========================

.. automodule:: formate.classes
:exclude-members: __eq__,__ge__,__gt__,__ne__,__le__,__lt__
5 changes: 5 additions & 0 deletions doc-source/api/config.rst
@@ -0,0 +1,5 @@
========================
:mod:`formate.config`
========================

.. automodule:: formate.config
5 changes: 5 additions & 0 deletions doc-source/api/dynamic_quotes.rst
@@ -0,0 +1,5 @@
===============================
:mod:`formate.dynamic_quotes`
===============================

.. automodule:: formate.dynamic_quotes
5 changes: 5 additions & 0 deletions doc-source/api/exceptions.rst
@@ -0,0 +1,5 @@
==========================
:mod:`formate.exceptions`
==========================

.. automodule:: formate.exceptions
6 changes: 3 additions & 3 deletions doc-source/api/formate.rst
@@ -1,5 +1,5 @@
========
formate
========
================
:mod:`formate`
================

.. automodule:: formate
5 changes: 5 additions & 0 deletions doc-source/api/imports.rst
@@ -0,0 +1,5 @@
========================
:mod:`formate.imports`
========================

.. automodule:: formate.imports
5 changes: 5 additions & 0 deletions doc-source/api/mini_hooks.rst
@@ -0,0 +1,5 @@
=================================
:mod:`formate.mini_hooks`
=================================

.. automodule:: formate.mini_hooks
5 changes: 5 additions & 0 deletions doc-source/api/reformat_generics.rst
@@ -0,0 +1,5 @@
=================================
:mod:`formate.reformat_generics`
=================================

.. automodule:: formate.reformat_generics
5 changes: 5 additions & 0 deletions doc-source/api/utils.rst
@@ -0,0 +1,5 @@
======================
:mod:`formate.utils`
======================

.. automodule:: formate.utils
1 change: 1 addition & 0 deletions doc-source/conf.py
Expand Up @@ -46,6 +46,7 @@
"sphinxcontrib.default_values",
"sphinxcontrib.toctree_plus",
"seed_intersphinx_mapping",
"attr_utils.autoattrs",
]

sphinxemoji_style = "twemoji"
Expand Down
1 change: 1 addition & 0 deletions doc-source/index.rst
Expand Up @@ -134,6 +134,7 @@ Installation
:caption: API Reference
:glob:

api/formate
api/*

.. toctree::
Expand Down

0 comments on commit 4617d27

Please sign in to comment.