diff --git a/.github/codecov.yml b/.github/codecov.yml new file mode 100644 index 0000000..13bb960 --- /dev/null +++ b/.github/codecov.yml @@ -0,0 +1,12 @@ +codecov: + notify: + after_n_builds: 3 +coverage: + status: + project: + default: + target: auto + threshold: 5% + patch: + default: + informational: true diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..87f4603 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" + groups: + dependencies: + patterns: + - "*" diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..9d1e098 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,5 @@ +changelog: + exclude: + authors: + - dependabot + - pre-commit-ci diff --git a/src/creation.cpp b/src/creation.cpp index 92ffe70..5ca76a6 100644 --- a/src/creation.cpp +++ b/src/creation.cpp @@ -12,12 +12,9 @@ #include #include -#include -#include #include #include #include -#include #include #include diff --git a/src/geography.cpp b/src/geography.cpp index 8651f99..ec56d5f 100644 --- a/src/geography.cpp +++ b/src/geography.cpp @@ -13,15 +13,10 @@ #include #include -#include #include -#include -#include -#include #include #include #include -#include #include #include "pybind11.hpp" diff --git a/src/geography.hpp b/src/geography.hpp index c703647..ca0c89f 100644 --- a/src/geography.hpp +++ b/src/geography.hpp @@ -7,7 +7,6 @@ #include #include #include -#include namespace py = pybind11; namespace s2geog = s2geography; diff --git a/src/projections.cpp b/src/projections.cpp index c5fefad..82ceefd 100644 --- a/src/projections.cpp +++ b/src/projections.cpp @@ -1,13 +1,10 @@ #include "projections.hpp" +#include #include #include -#include "geography.hpp" -#include "pybind11.hpp" - namespace py = pybind11; -using namespace spherely; void init_projections(py::module& m) { py::class_ projection(m, "Projection", R"pbdoc( diff --git a/src/projections.hpp b/src/projections.hpp index f91f9a0..e39d119 100644 --- a/src/projections.hpp +++ b/src/projections.hpp @@ -5,10 +5,7 @@ #include #include -#include "pybind11.hpp" - namespace s2geog = s2geography; -using namespace spherely; class Projection { public: