Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37817980
en ru br
ALT Linux repositórios
S:0.18.2-alt1

Group :: Development/Python3
RPM: python3-module-flake8-import-order

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define  modulename flake8-import-order

%def_with check

Name:    python3-module-%modulename
Version: 0.18.2
Release: alt1

Summary: Flake8 plugin that checks import order against various Python Style Guides

License: LGPL-3.0
Group:   Development/Python3
URL:     https://github.com/PyCQA/flake8-import-order

Packager: Grigory Ustinov <grenka at altlinux.org>

BuildRequires(pre): rpm-build-python3

%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-pylama
BuildRequires: python3-module-pycodestyle
%endif

BuildArch: noarch

Source:  %name-%version.tar

%description
A flake8 and Pylama plugin that checks the ordering of your imports.
It does not check anything else about the imports. Merely that they are grouped
and ordered correctly.
In general stdlib comes first, then 3rd party, then local packages, and that
each group is individually alphabetized, however this depends on the style used.
Flake8-Import-Order supports a number of styles and is extensible allowing for
custom styles.
This plugin was originally developed to match the style preferences of the
cryptography project, with this style remaining the default.

%prep
%setup

%build
%python3_build

%install
%python3_install

%check
%__python3 -m pytest -v

%files
%python3_sitelibdir/flake8_import_order
%python3_sitelibdir/*.egg-info
%doc *.rst

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009