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

Misc maintenance #96

Merged
merged 7 commits into from
Feb 4, 2025
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
12 changes: 12 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
codecov:
notify:
after_n_builds: 3
coverage:
status:
project:
default:
target: auto
threshold: 5%
patch:
default:
informational: true
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
groups:
dependencies:
patterns:
- "*"
5 changes: 5 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
changelog:
exclude:
authors:
- dependabot
- pre-commit-ci
3 changes: 0 additions & 3 deletions src/creation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@
#include <s2geography.h>
#include <s2geography/geography.h>

#include <array>
#include <functional>
#include <memory>
#include <sstream>
#include <stdexcept>
#include <type_traits>
#include <utility>
#include <vector>

Expand Down
5 changes: 0 additions & 5 deletions src/geography.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,10 @@
#include <s2geography/predicates.h>
#include <s2geography/wkt-writer.h>

#include <cstddef>
#include <memory>
#include <optional>
#include <sstream>
#include <stdexcept>
#include <string>
#include <type_traits>
#include <utility>
#include <variant>
#include <vector>

#include "pybind11.hpp"
Expand Down
1 change: 0 additions & 1 deletion src/geography.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <exception>
#include <memory>
#include <string>
#include <type_traits>

namespace py = pybind11;
namespace s2geog = s2geography;
Expand Down
5 changes: 1 addition & 4 deletions src/projections.cpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
#include "projections.hpp"

#include <pybind11/pybind11.h>
#include <s2/s2projections.h>
#include <s2geography.h>

#include "geography.hpp"
#include "pybind11.hpp"

namespace py = pybind11;
using namespace spherely;

void init_projections(py::module& m) {
py::class_<Projection> projection(m, "Projection", R"pbdoc(
Expand Down
3 changes: 0 additions & 3 deletions src/projections.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
#include <s2/s2projections.h>
#include <s2geography.h>

#include "pybind11.hpp"

namespace s2geog = s2geography;
using namespace spherely;

class Projection {
public:
Expand Down
Loading