Selaa lähdekoodia

poetry export hook

Daniel Busch 2 kuukautta sitten
vanhempi
commit
f5e235627d

+ 2 - 2
.pre-commit-config.yaml

@@ -40,8 +40,8 @@ repos:
     rev: '1.8.3'
     hooks:
       - id: poetry-check
-#      - id: poetry-lock
-#        args: [--no-update]
+      - id: poetry-lock
+        args: [--no-update]
   - repo: https://github.com/python-poetry/poetry-plugin-export
     rev: '1.9.0'
     hooks:

+ 0 - 9
conv_FAO_IPPCC2006_PRIMAP_CH4.csv

@@ -1,9 +0,0 @@
-# references: CH4 emissions only
-# last_update: 2024-10-14
-FAO,IPCC2006_PRIMAP,comment
-1.A.2.c,3.C.7,Rice cultivation
-1.A.1.b + 1.A.2.b + 1.A.6.b + 1.A.7.b, 3.C.1.b, FAO 1.A.X.b Burning of crop residues to IPCC 3.C.1.b Biomass Burning In Croplands
-M.3.EF, 3.A.1, Enteric fermentation
-M.3.MM, 3.A.2, Manure Management
-6.A,3.C.1.a, FAO 6.A forest fires to IPCC 3.C.1.a Biomass burning in forest lands
-6.B,3.C.1.c, FAO 6.B savanna fires to IPCC 3.C.1.c Biomass burning in grasslands

+ 0 - 11
conv_FAO_IPPCC2006_PRIMAP_CO2.csv

@@ -1,11 +0,0 @@
-# references: CO2 emissions only
-# last_update: 2024-10-14
-FAO,IPCC2006_PRIMAP,comment
-4,3.B.1,Carbon stock change in forests
-4.B,M.NFC,Net Forest conversion
-5.A,3.B.3,Drained grassland
-5.B,3.B.2,Drained cropland
-6.A,3.C.1.a, FAO 6.A forest fires to IPCC 3.C.1.a Biomass burning in forest lands
-6.B, 3.C.1.c, FAO 6.B savanna fires to IPCC 3.C.1.c Biomass burning in grasslands
-6.C, 3.C.1.b, FAO 6.C Fires in organic soils to IPCC 3.C.1.b Biomass Burning In Croplands
-7.M + 7.A, 2.G, Manufacturing fertlisers and pesticides

+ 0 - 12
conv_FAO_IPPCC2006_PRIMAP_N2O.csv

@@ -1,12 +0,0 @@
-# references: N2O emissions only
-# last_update: 2024-10-14
-FAO,IPCC2006_PRIMAP,comment
-M.3.MM, 3.A.2, Manure management
-1.A.1.b + 1.A.2.b + 1.A.6.b + 1.A.7.b, 3.C.1.b, FAO 1.A.X.b Burning of crop residues to IPCC 3.C.1.b Biomass Burning In Croplands
-M.3.MP + M.3.MA + M.1.CR, 3.C.4
-1.B.1,M.3.C.4.SF,Better to map indivudually in case it covers different range of years
-1.B.2.a + 1.B.2.b,M.3.C.5.SF,Better to map individually in case it covers different range of years
-5.A,3.B.3,Drained grassland
-5.B,3.B.2,Drained cropland
-6.A,3.C.1.a, FAO 6.A forest fires to IPCC 3.C.1.a Biomass burning in forest lands
-6.B, 3.C.1.c, FAO 6.B savanna fires to IPCC 3.C.1.c Biomass burning in grasslands

+ 2 - 2
requirements.txt

@@ -47,7 +47,7 @@ attrs==24.2.0 ; python_version >= "3.11" and python_version < "3.13" \
 babel==2.16.0 ; python_version >= "3.11" and python_version < "3.13" \
     --hash=sha256:368b5b98b37c06b7daf6696391c3240c938b37767d4584413e8438c5c435fa8b \
     --hash=sha256:d1f3554ca26605fe173f3de0c65f750f5a42f924499bf134de6423582298e316
-backports-tarfile==1.2.0 ; python_version >= "3.11" and python_version < "3.12" \
+backports-tarfile==1.2.0 ; python_version == "3.11" \
     --hash=sha256:77e284d754527b01fb1e6fa8a1afe577858ebe4e9dad8919e34c862cb399bc34 \
     --hash=sha256:d75e02c268746e1b8144c278978b6e98e85de6ad16f8e4b0844a154557eca991
 beautifulsoup4==4.12.3 ; python_version >= "3.11" and python_version < "3.13" \
@@ -1130,7 +1130,7 @@ pathspec==0.12.1 ; python_version >= "3.11" and python_version < "3.13" \
 patool==3.1.0 ; python_version >= "3.11" and python_version < "3.13" \
     --hash=sha256:401a918bdbf65434fd59c038bdb2c15ff7185675aedddb4494330c3e8e4fe80d \
     --hash=sha256:417ed1ff7b9c979ce8a10114ed9bc280b08e3af3df3072e761303a3e00aaba04
-pexpect==4.9.0 ; python_version >= "3.11" and python_version < "3.13" and (sys_platform != "win32" and sys_platform != "emscripten") \
+pexpect==4.9.0 ; python_version >= "3.11" and python_version < "3.13" and sys_platform != "win32" and sys_platform != "emscripten" \
     --hash=sha256:7236d1e080e4936be2dc3e326cec0af72acf9212a7e1d060210e70a47e253523 \
     --hash=sha256:ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f
 pillow==11.1.0 ; python_version >= "3.11" and python_version < "3.13" \