Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oops 284 #45

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
select = C,E,F,W,B,B9
ignore = E203, E231, E501, W503, B950
15 changes: 15 additions & 0 deletions .github/workflows/secret-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Secret Scan

on:
pull_request:
branches:
- master

jobs:
trufflehog:
permissions:
id-token: write
contents: read
issues: write
pull-requests: write
uses: RTBHouse-OEET/common-actions/.github/workflows/secret-scan.yml@master
18 changes: 18 additions & 0 deletions .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: SonarQube analysis

on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
- reopened

jobs:
sonarqube:
uses: RTBHouse-OEET/common-actions/.github/workflows/sonarqube.yml@master
secrets: inherit
with:
sonarqube_project_key: ${{ github.event.repository.name }}
2 changes: 1 addition & 1 deletion conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set name = "pyre2" %}
{% set version = "0.3.6" %}
{% set version = "0.3.7" %}

package:
name: {{ name|lower }}
Expand Down
31 changes: 29 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,40 @@ requires = [
"setuptools>=42",
"wheel",
"Cython>=0.20",
"pybind11>=2.6.0",
"pybind11[global]>=2.6.0,<=2.12",
"ninja; sys_platform != 'Windows'",
"cmake>=3.15",
]

build-backend = "setuptools.build_meta"

[project]
name = "pyre2"
version = "0.3.7" # You may need to specify the version here
requires-python = ">=3.6"
authors = [
{ name = "Andreas van Cranenburgh", email = "[email protected]" }
]
maintainers = [
{ name = "Steve Arnold", email = "[email protected]" }
]
description = "Python wrapper for Google's RE2 using Cython"
readme = "README.rst"
license = { file = "LICENSE" }
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Cython",
"Programming Language :: Python :: 3.6",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules"
]

[project.optional-dependencies]
test = ["pytest"]
perf = ["regex"]

[project.urls]
Homepage = "https://github.com/andreasvc/pyre2"

[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
Expand Down
39 changes: 0 additions & 39 deletions setup.cfg

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


# update the release version both here and in conda.recipe/meta.yaml
__version__ = '0.3.6'
__version__ = '0.3.7'

# Convert distutils Windows platform specifiers to CMake -A arguments
PLAT_TO_CMAKE = {
Expand Down