Skip to content

[MAINT] remove unused files and makefile recipes#1480

Draft
Remi-Gau wants to merge 4 commits into
nipy:masterfrom
Remi-Gau:clean_up
Draft

[MAINT] remove unused files and makefile recipes#1480
Remi-Gau wants to merge 4 commits into
nipy:masterfrom
Remi-Gau:clean_up

Conversation

@Remi-Gau

Copy link
Copy Markdown
Contributor

Comment thread lgtm.yml Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread .travis.yml Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

travis is not used anymore

Comment thread Makefile.win Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assume this has never been used / updated since creation

Comment thread Makefile

pylint: distclean
# do distclean first to silence SWIG's sins
PYTHONPATH=.:$(PYTHONPATH) pylint --rcfile doc/misc/pylintrc nibabel

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see if the pylint rules ca be run via ruff

Comment thread Makefile

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

more clean up needed

@codecov

codecov Bot commented Mar 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.44%. Comparing base (d8d9e8c) to head (7e2206a).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1480   +/-   ##
=======================================
  Coverage   95.44%   95.44%           
=======================================
  Files         209      209           
  Lines       29981    29981           
  Branches     4483     4483           
=======================================
  Hits        28614    28614           
  Misses        931      931           
  Partials      436      436           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread Makefile Outdated
Comment on lines 117 to 118
upload-html: html-stamp
./tools/upload-gh-pages.sh $(WWW_DIR) $(PROJECT)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can probably go ahead and drop this stuff, as well, since it's broken and we're now uploading from GHA.

Comment thread tools/upload-gh-pages.sh Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed anymore AFAICT

Comment thread Makefile
Comment on lines -32 to -41
#
# Building
#

all: build

build:
$(PYTHON) setup.py config --noisy
$(PYTHON) setup.py build

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uses setup.py: remove

Comment thread Makefile
# Does debian version correspond to setup.py version?
[ "$(DEBCHANGELOG_VERSION)" = "$(SETUPPY_VERSION)" ]

embed-dev-version: check-nodirty

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uses setup.py: remove

Comment thread Makefile
deb-mergedev:
git merge --no-commit origin/dist/debian/dev

orig-src: distclean distclean

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uses setup.py: remove

Comment thread Makefile
cd .. && dpkg-source -i'\.(gbp.conf|git\.*)' -b $(CURDIR)


bdist_rpm:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uses setup.py: remove

Comment thread Makefile
source-release:
uv build --sdist

venv-tests:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uses setup.py: remove

Comment thread pyproject.toml
select = [
"B",
"C4",
"C90",

@effigies effigies Mar 18, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind adding a quick description with these? I've started doing this in other projects, and it really helps to not have to look them all up every time. e.g.

Suggested change
"C90",
"C90", # Whatever this is

Just ones you're adding, unless you're feeling very motivated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants