Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TuragaLab/malis
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: ZettaAI/malis
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 10 files changed
  • 2 contributors

Commits on Nov 25, 2025

  1. build: modernize malis build for Python 3.10 and PEP 517

    - Replace deprecated distutils usage with setuptools and sysconfig to ensure compatibility with Python 3.10+.
    - Update make.sh to build using pip install -e . --use-pep517 instead of invoking setup.py directly.
    - Refactor setup.py to use sysconfig for resolving include and library paths, replacing removed distutils.sysconfig calls.
    - Define explicit version constraints for build dependencies (cython>=0.24, numpy>=1.9) and specify python_requires='>=3.6'.
    - Clean up C++ extension compilation flags and formatting in malis/setup.py.
    torms3 committed Nov 25, 2025
    Configuration menu
    Copy the full SHA
    2600f65 View commit details
    Browse the repository at this point in the history
  2. chore: update .gitignore for malis build artifacts

    Added ignore rules for:
    - build/
    - dist/
    - egg files
    - Python bytecode
    - generated C++ sources
    - compiled malis shared objects
    torms3 committed Nov 25, 2025
    Configuration menu
    Copy the full SHA
    8b83d9e View commit details
    Browse the repository at this point in the history
  3. style: pythonize entire codebase following PEP 8 and PEP 257 conventions

      Refactor all Python/Cython files to follow modern Python style guidelines:
    
      - Add comprehensive module, class, and function docstrings (PEP 257)
      - Replace wildcard imports with explicit imports and __all__ declarations
      - Organize imports following PEP 8 (stdlib → third-party → local)
      - Improve code formatting with consistent spacing and line breaks
      - Convert test script to function-based structure with main() entry point
      - Add trailing commas for better git diffs
      - Improve multi-line expression formatting in Cython code
      - Add docstrings to all public APIs with Args/Returns documentation
    
      Files modified:
      - malis/__init__.py: Explicit imports with organized __all__ list
      - malis/malis.pyx: Comprehensive docstrings for 17+ functions
      - malis/malis_loss.py: Class and method documentation, improved formatting
      - malis/test_malis.py: Convert to function-based tests with main()
      - setup.py: Add module docstrings and improve structure
      - malis/setup.py: Add documentation and improve formatting
    
      This refactoring maintains full backward compatibility while improving
      code readability, maintainability, and IDE support.
    torms3 committed Nov 25, 2025
    Configuration menu
    Copy the full SHA
    61f74ac View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1 from ZettaAI/python310-compatibility

    Python310 compatibility
    torms3 authored Nov 25, 2025
    Configuration menu
    Copy the full SHA
    9771f96 View commit details
    Browse the repository at this point in the history
Loading