Skip to content
Merged
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
5 changes: 1 addition & 4 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
branch = True
parallel = True
concurrency = multiprocessing
include =
riptide/*
omit =
riptide/tests/*
riptide/_version.py
src/riptide/_version.py

[report]
exclude_lines =
Expand Down
24 changes: 15 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
*.o
*.so
*.pyc
__pycache__
dist
build
.egg
.nox
.vscode
*.egg-info
.coverage
.eggs
__pycache__
.mypy_cache
docs/_build
.pytest_cache
tmp
build
dist
pip-wheel-metadata
.ipynb_checkpoints
src/riptide/_version.py

*.o
*.so
*.egg
*.py[cod]
*.egg-info
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ clean: ## Remove all python cache and build files
rm -f .coverage

tests: ## Run the unit tests and print a coverage report
pytest --cov --verbose --cov-report term-missing riptide/tests
pytest --cov --verbose --cov-report term-missing tests

.PHONY: dist install uninstall help clean tests
22 changes: 11 additions & 11 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

# -- Project information -----------------------------------------------------

project = 'riptide-ffa'
copyright = '2021, Vincent Morello'
author = 'Vincent Morello'
project = "riptide-ffa"
copyright = "2021, Vincent Morello"
author = "Vincent Morello"


# -- General configuration ---------------------------------------------------
Expand All @@ -29,14 +29,14 @@
# NOTE: sphinx.ext.autosectionlabel makes it easy to reference other sections in the docs
# See: https://stackoverflow.com/a/54843636
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.napoleon',
'sphinx_rtd_theme',
'sphinx.ext.autosectionlabel',
"sphinx.ext.autodoc",
"sphinx.ext.napoleon",
"sphinx_rtd_theme",
"sphinx.ext.autosectionlabel",
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
templates_path = ["_templates"]

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand All @@ -49,11 +49,11 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'
html_theme = "sphinx_rtd_theme"

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_static_path = ["_static"]

pygments_style = 'sphinx'
pygments_style = "sphinx"
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dynamic = ["version"]
license = {file = "LICENSE"}
maintainers = [{name = "Vincent Morello", email = "vmorello@gmail.com"}]
readme = "README.md"
requires-python = ">=3.6"
requires-python = ">=3.9"

classifiers = [
"Programming Language :: Python :: 3 :: Only",
Expand Down Expand Up @@ -57,4 +57,4 @@ homepage = "https://github.com/vmorello/riptide"
documentation = "https://riptide-ffa.readthedocs.io"

[tool.setuptools_scm]
write_to = "riptide/_version.py"
write_to = "src/riptide/_version.py"
198 changes: 0 additions & 198 deletions riptide/pipeline/config_validation.py

This file was deleted.

1 change: 0 additions & 1 deletion riptide/tests/__init__.py

This file was deleted.

11 changes: 0 additions & 11 deletions riptide/tests/run_tests.py

This file was deleted.

18 changes: 9 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
# end of these arrays).
# The flags below provide the same speedups as -ffast-math, without the risks.
SAFE_FAST_MATH_FLAGS = [
'-fassociative-math',
'-fno-math-errno',
'-ffinite-math-only',
'-fno-rounding-math',
'-fno-signed-zeros',
'-fno-trapping-math',
"-fassociative-math",
"-fno-math-errno",
"-ffinite-math-only",
"-fno-rounding-math",
"-fno-signed-zeros",
"-fno-trapping-math",
]

# The main interface is through Pybind11Extension.
Expand All @@ -29,9 +29,9 @@
# reproducible builds (https://github.com/pybind/python_example/pull/53)
ext_modules = [
Pybind11Extension(
'riptide.libcpp',
sorted(['riptide/cpp/python_bindings.cpp']),
extra_compile_args=['-O3', '-march=native'] + SAFE_FAST_MATH_FLAGS
"riptide.libcpp",
sorted(["src/riptide/cpp/python_bindings.cpp"]),
extra_compile_args=["-O3", "-march=native"] + SAFE_FAST_MATH_FLAGS,
),
]

Expand Down
Loading