Skip to content
This repository has been archived by the owner on Oct 22, 2022. It is now read-only.
/ griffediff Public archive

API comparison and breaking-change detection using griffe.

License

Notifications You must be signed in to change notification settings

tlambert03/griffediff

Repository files navigation

griffediff

License PyPI Python Version CI codecov

API comparison and breaking-change detection using griffe.

ARCHIVED The functionality in this package is being added to griffe core

See also: https://github.com/Carreau/frappuccino


Examples of allowed non-breaking API changes:

def add_optional_param(a):
def add_optional_param(a, c=2):

def change_keywordonly_position(a, *, b=1, c=2):
def change_keywordonly_position(a, *, c=2, b=1):

def change_return_type() -> Sequence:
def change_return_type() -> list:

Examples of breaking API changes detected

def remove_param(a, b): #
def remove_param(a):

def change_param_name(a, b):
def change_param_name(a, c):

def change_param_default(a, b=1):
def change_param_default(a, b=2):

def add_required_param(a):
def add_required_param(a, b):

def change_kwarg_to_positional(a, b=1):
def change_kwarg_to_positional(a, b):

def change_position_of_positional(a, b):
def change_position_of_positional(b, a):

def change_keyword_position(a, b=1, c=2):
def change_keyword_position(a, c=2, b=1):

def change_pos_to_keyword_only(a, b=1):
def change_pos_to_keyword_only(a, *, b=1):

def change_return_type_incompatible() -> list:
def change_return_type_incompatible() -> Sequence:

def removed_public_function():
def _removed_public_function():

About

API comparison and breaking-change detection using griffe.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages