Projects
home:Eustace:branches:Eulaceura:Factory
python-flake8-builtins
_service:obs_scm:python-flake8-builtins.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-flake8-builtins.spec of Package python-flake8-builtins
%global srcname flake8-builtins Name: python-%{srcname} Version: 2.5.0 Release: 1 Summary: Check for python builtins being used as variables or parameters License: GPL-2.0-only URL: https://github.com/gforcada/flake8-builtins Source0: https://github.com/gforcada/flake8-builtins/archive/%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-hatch-vcs BuildRequires: python3-hatchling %global _description %{expand: Python allows to override builtin names, but although could be useful in some really specific use cases, the general approach is to not do that as code then can suddenly break without a clear trace.} %description %_description %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} BuildRequires: python%{python3_pkgversion}-devel %description -n python%{python3_pkgversion}-%{srcname} %_description %prep %autosetup -p1 -n %{srcname}-%{version} %build %pyproject_build %install %pyproject_install #%check #pytest %files -n python%{python3_pkgversion}-%{srcname} %doc README.rst %{python3_sitelib}/__pycache__/ %{python3_sitelib}/flake8_builtins-*.dist-info/* %{python3_sitelib}/flake8_builtins.py %changelog * Fri Oct 25 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 2.5.0-1 - Update package to version 2.5.0 Support detecting a shadowing folder as module name Add rule for lambda argument shadowing Add rule for builtin module name shadowing Use tox and pre-commit to ease project maintenance Use pyproject.toml rather than setup.py. * Sun Jun 25 2023 limiaomiao_zhr <mmlidc@isoftstone.com> - 2.1.0-1 - introduce package flake8-builtins with version 2.1.0 to src openEuler
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2